Mathieu Rondonneau wrote: > I have some problem writing an ALSA driver: > > When i use arecord: > arecord -d 10 -r 8000 -f S16_LE -t wav -c 1 test.wav > > the data area of the wav file (test.wav) is filled with 0. > I compared the data of the wav file and the data of the capture buffer: > They are different, the buffer is filled with audio datas.
Probably the pointer callback returns wrong data. HTH Clemens ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel