James, On Thu, 2008-02-14 at 06:43 -0600, James Shatto wrote: > > strace arecord -d 10 -f cd -t wav -D copy foobar.wav > > try: > > arecord -d 10 -f S16_LE -r 44100 -c 2 -t wav -D copy foobar.wav > or > arecord -d 10 -f cd -t wav -D hw:0 foobar.wav > > Make sure copy is the right alias in your .asoundrc, otherwise you might need to use the card number (/proc/asound/cards (-D hw:0)). The "-f S16_LE -r 44100 -c 2" is the long hand of -f cd. Long hand is easier to modify, if you want to use a different rate, or only one channel(mono). I tried the second and got: $ arecord -d 10 -f cd -t wav -D hw:0 foobar.wav Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz) please, try the plug plugin arecord: pcm_read:1347: read error: Input/output error and I get a 44 byte foobar.wav file. My .asoundrc is: pcm.copy { type plug slave { pcm hw } route_policy copy } Thanks, Phil. -- Philip Rhoades Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney NSW 2001 Australia Fax: +61:(0)2-8221-9599 E-mail: phil@xxxxxxxxxxxxx ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user