Update of /cvsroot/alsa/alsa-lib/src/pcm
In directory sc8-pr-cvs1:/tmp/cvs-serv21525

Modified Files:
        pcm.c pcm_misc.c 
Log Message:
Added missing break for 24bit formats (silence)

Index: pcm.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm.c,v
retrieving revision 1.235
retrieving revision 1.236
diff -u -r1.235 -r1.236
--- pcm.c       4 Dec 2002 15:34:04 -0000       1.235
+++ pcm.c       18 Dec 2002 12:03:28 -0000      1.236
@@ -6285,11 +6285,12 @@
        int idx;
 
        a = slave_rbptr->link_dst;
-       for (idx = 0; idx < slave_rbptr->link_dst_count; idx++)
+       for (idx = 0; idx < slave_rbptr->link_dst_count; idx++) {
                if (a[idx] == pcm) {
                        a[idx] = NULL;
                        goto __found;
                }
+       }
        assert(0);
        return;
 

Index: pcm_misc.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_misc.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- pcm_misc.c  21 Jul 2002 08:19:41 -0000      1.38
+++ pcm_misc.c  18 Dec 2002 12:03:28 -0000      1.39
@@ -589,6 +589,7 @@
 #endif
                        }
                }
+               break;
        }
        case 32: {
                u_int32_t silence = snd_pcm_format_silence_64(format);



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to