[Asterisk-cvs] asterisk/channels chan_alsa.c,1.40,1.41
mattf at lists.digium.com
mattf at lists.digium.com
Wed Apr 13 11:33:04 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv10735/channels
Modified Files:
chan_alsa.c
Log Message:
Fixed chan_alsa.c unload bug (bug #4019)
Index: chan_alsa.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_alsa.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- chan_alsa.c 29 Mar 2005 06:16:49 -0000 1.40
+++ chan_alsa.c 13 Apr 2005 16:24:45 -0000 1.41
@@ -1077,8 +1077,8 @@
ast_channel_unregister(&alsa_tech);
for (x=0;x<sizeof(myclis)/sizeof(struct ast_cli_entry); x++)
ast_cli_unregister(myclis + x);
- close(readdev);
- close(writedev);
+ snd_pcm_close(alsa.icard);
+ snd_pcm_close(alsa.ocard);
if (sndcmd[0] > 0) {
close(sndcmd[0]);
close(sndcmd[1]);
More information about the svn-commits
mailing list