[alsa-devel] alsa audio open error

Srinivasan S srinivasan.s at tataelxsi.co.in
Tue Oct 27 09:46:18 CET 2015


Dear Alsa community,

I facing the below error, am using am335x & ti sdk 8

Something wrong when execute arecord & aplay :

arecord and aplay does not work for the first time & it works after throwing error after 5 times

Couple of times I get the below error:


root at lifeline:/# arecord -D VINL8 -f S16_LE | aplay -D VOUTR8
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
^CAborted by signal Interrupt...
Aborted by signal Interrupt...
root at lifeline:/# arecord -D VINL8 -f S16_LE | aplay -D VOUTR8
ALSA lib /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:722: audio open error: Invalid argument
aplay: playback:2715: read error
root at lifeline:/# arecord -D VINL8 -f S16_LE | aplay -D VOUTR8
ALSA lib /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm_dshare.c:710:(snd_pcm_dshare_open) unable to open slave
aplay: main:722: audio open error: Invalid argument
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
root at lifeline:/# arecord -D VINL8 -f S16_LE | aplay -D VOUTR8
ALSA lib /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm_dshare.c:710:(snd_pcm_dshare_open) unable to open slave
aplay: main:722: audio open error: Invalid argument
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
root at lifeline:/# arecord -D VINL8 -f S16_LE | aplay -D VOUTR8
ALSA lib /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm_dshare.c:710:(snd_pcm_dshare_open) unable to open slave
aplay: main:722: audio open error: Invalid argument
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
root at lifeline:/# arecord -D VINL8 -f S16_LE | aplay -D VOUTR8
ALSA lib /home/jenkins/amsdk-nightly-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-oe-linux-gnueabi/alsa-lib/1.0.27.2-r0/alsa-lib-1.0.27.2/src/pcm/pcm_dshare.c:710:(snd_pcm_dshare_open) unable to open slave
aplay: main:722: audio open error: Invalid argument
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
root at lifeline:/# arecord -D VINL8 -f S16_LE | aplay -D VOUTR8
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono

But there is no answer...

Could someone give me some clues?

Kindly do the needful as early as possible

Many Thanks in advance



More information about the Alsa-devel mailing list