Update of /cvsroot/alsa/alsa-kernel/pci/emu10k1
In directory sc8-pr-cvs1:/tmp/cvs-serv22597

Modified Files:
        emufx.c 
Log Message:
fixed the buffer overlap on FX8010 PCM.



Index: emufx.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emufx.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- emufx.c     29 Aug 2003 09:22:27 -0000      1.38
+++ emufx.c     4 Sep 2003 17:46:56 -0000       1.39
@@ -667,7 +667,7 @@
        pcm->hw_io = ptr;
        pcm->hw_ready -= frames;
        pcm->sw_io += frames;
-       if (pcm->sw_io > runtime->buffer_size)
+       if (pcm->sw_io >= runtime->buffer_size)
                pcm->sw_io -= runtime->buffer_size;
        snd_emu10k1_fx8010_playback_transfer(substream);
        return pcm->sw_io;



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to