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

Modified Files:
        cmipci.c 
Log Message:
reduce stack usage



Index: cmipci.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/cmipci.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- cmipci.c    7 May 2003 15:51:33 -0000       1.46
+++ cmipci.c    2 Jul 2003 10:31:16 -0000       1.47
@@ -1186,7 +1186,7 @@
 #ifndef USE_AES_IEC958
        u16 *srcp = src, val;
 #else
-       char buf[1920];         /* bits can be divided by 20, 24, 16 */
+       char buf[480];         /* bits can be divided by 20, 24, 16 */
        size_t bytes = frames_to_bytes(runtime, count);
 #endif
 
@@ -1245,7 +1245,7 @@
        snd_pcm_uframes_t offset;
        snd_pcm_runtime_t *runtime = subs->runtime;
 # ifdef USE_AES_IEC958
-       char buf[1920];         /* bits can be divided by 20, 24, 16 */
+       char buf[480];          /* bits can be divided by 20, 24, 16 */
        size_t bytes = frames_to_bytes(runtime, count);
 # endif
        if (! cm->channel[CM_CH_PLAY].ac3_shift)



-------------------------------------------------------
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/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to