> 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).  

-------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to