Debian Analog Audio


Is there any way to use aplay on the latest debeian release to play a sound file to a headset?
In Android the following is working:

tinymix ‘PRI_MI2S_RX Audio Mixer MultiMedia1’ 1
tinymix ‘RX1 MIX1 INP1’ 'RX1’
tinymix ‘RX2 MIX1 INP1’ 'RX2’
tinymix ‘RDAC2 MUX’ 'RX2’
tinymix ‘HPHL’ 'Switch’
tinymix ‘HPHR’ 'Switch’
tinymix ‘MI2S_RX Channels’ 'Two’
tinyplay test.wav

What about recording with arecord from the same input?
The Android this one is working:
tinymix ‘MultiMedia1 Mixer TERT_MI2S_TX’ 1
tinymix ‘DEC1 MUX’ 'ADC2’
tinymix ‘ADC2 MUX’ 'INP2’
tinymix ‘MultiMedia1 Mixer TERT_MI2S_TX’ 1
tinycap /sdcard/test.wav
Thank you


I have the same question here.


I have managed to play the files by:
aplay -D hw:0,2 /usr/share/sounds/alsa/Front_Center.wav
The record is still unclear.


Hi Leonid,

When I try that:

aplay -D hw:0,2 /usr/share/sounds/alsa/Front_Center.wav

I get:

aplay: main:722: audio open error: No such file or directory

Just to be clear, you got this working with the headphone interface? Which debian image are you using?


I am using Linux linaro-alip 4.4.0-linaro-lt-qcom
If the command is not working than try running:
$ aplay -l
it should give you a list of available devices.
you can also use:
$ aplay -L
It gives the same list, but with all interfaces
check where you see the “WCD msm8x16_wcd_i2s_rx1-1 []” device.
I have it on card 0 devie 1
also check if you have the wav file in:

And maybe i was wrong and the correct command is:
aplay -D hw:0,1 /usr/share/sounds/alsa/Front_Center.wav