On Tue, 27 Jan 2004, Safari wrote:

> $ arecord -d 1 -v -r 44100 -f S16_LE -c 2 /dev/null
> Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
> arecord: pcm_rate.c:512: snd_pcm_rate_init: Assertion `0' failed.
> Aborted by signal Aborted...

Oops. This patch fixes the bug:

Index: pcm_rate.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_rate.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- pcm_rate.c  24 Jan 2004 16:23:11 -0000      1.75
+++ pcm_rate.c  27 Jan 2004 13:08:16 -0000      1.76
@@ -508,6 +508,7 @@
                        rate->states[k].u.linear.pos = 0;
                        rate->states[k].u.linear.init = 0;
                }
+               break;
        default:
                assert(0);
        }

I'm recreating the alsa-lib package right now.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to