Enlightenment CVS committal

Author  : tsauerbeck
Project : misc
Module  : eplayer

Dir     : misc/eplayer/src/output/oss


Modified Files:
        oss.c 


Log Message:
OSS fixes.
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/output/oss/oss.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- oss.c       30 Nov 2003 01:08:47 -0000      1.5
+++ oss.c       30 Nov 2003 08:42:14 -0000      1.6
@@ -16,6 +16,7 @@
 
 void oss_shutdown() {
        if (fd != -1) {
+               ioctl(fd, SNDCTL_DSP_RESET, 0);
                close(fd);
                fd = -1;
        }
@@ -31,6 +32,8 @@
        int format, tmp;
 
        assert(fd != -1);
+
+       ioctl(fd, SNDCTL_DSP_RESET, 0);
 
        /* set format */
        if (bits == 8)




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to