This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

alsa audio open error



Hi Tis,

I am using DVRRDK4.0 and there is a AIC33 codec(hw:0,0) in my board

Something wrong when execute arecord & aplay :

# arecord -f CD -D hw:0,0 | aplay -f CD -D hw:0,0
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: main:696: audio open error: Invalid argument

But when I run again, everything will be ok....

# arecord -f CD -D hw:0,0 | aplay -f CD -D hw:0,0
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo


So...error will come out after system booting(the first time), arecord & aplay play normally at second time.

I find the similar discussion about this issue: 

http://marc.info/?l=linux-arm-kernel&m=129532590418508&w=2

But there is no answer...

Could someone give me some clues?

Thanks in advance

BR

Steven