Update of /cvsroot/alsa/alsa-kernel/core/oss
In directory sc8-pr-cvs1:/tmp/cvs-serv10173

Modified Files:
        pcm_plugin.c 
Log Message:
fixed the buffer size of the non-interleaved case, too.



Index: pcm_plugin.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/oss/pcm_plugin.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- pcm_plugin.c        24 Jul 2003 12:59:34 -0000      1.14
+++ pcm_plugin.c        24 Jul 2003 13:33:52 -0000      1.15
@@ -109,7 +109,7 @@
                snd_assert((size % format->channels) == 0,);
                size /= format->channels;
                for (channel = 0; channel < format->channels; channel++, c++) {
-                       c->frames = frames / format->channels;
+                       c->frames = frames;
                        c->enabled = 1;
                        c->wanted = 0;
                        c->area.addr = plugin->buf + (channel * size);



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to