aplay/arecord
This one is killing me. . . I cannot figure it out. I have a Creative Live 5.1 (emu10k1) and am using driver 1.0.6a (haven't yet installed .7, about to give that a go).
The problem:
arecord -r 44100 -f U8 -c 2 <no device> something.wav -- Okay.
arecord -r 44100 -f U8 -c 2 -D plughw:0,0 something.wav -- Okay.
arecord -r 44100 -f U8 -c 2 -D default something.wav -- Okay.
arecord -r 44100 -f U8 -c 2 -D hw:0,0 something.wav -- Invalid format.
What am I doing wrong here? Why will it not let me have U8 as the format on hw:0,0, when it is the same thing as the others. . .
Thanks in advance for the help.
Andy Kennedy
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
Quoted 4 lines · On 01-Oct-2004 Andy Kennedy wrote:
arecord -r 44100 -f U8 -c 2 -D hw:0,0 something.wav -- Invalid format.
What am I doing wrong here? Why will it not let me have U8 as the format on hw:0,0, when it is the same thing as the others. . .
No, it's not the same thing. plughw: transparently converts the given format to one that the card supports, while hw:
doesn't. In this case your card can only record S16_LE, so the data must be converted to U8.
--
Giuliano.
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl