AnsweredAssumed Answered

Audio Codec cs42888  not working in SabreAuto reference board running Android 5.1

Question asked by Deepika Teriar on Apr 26, 2016

Hi

I am working on playing audio using its audio-codec cs42888 from Sabre-auto quad rev A running android 5.0

When i am checking the available cards  it is showing as

root@sabreauto_6q:/ # cat /proc/asound/cards                            

0 [cs42888audio   ]: cs42888-audio - cs42888-audio

                 cs42888-audio
1 [imxspdif  ]: imx-spdif - imx-spdif
                 imx-spdif
2 [imxhdmisoc]: imx-hdmi-soc - imx-hdmi-soc
                 imx-hdmi-soc

 

 

i am unable to play audio using tinyalsa.

This is the available audio devices as shown

root@sabreauto_6q:/proc/asound/cs42888audio # ls

id

pcm0c

pcm0p

pcm1c

pcm1p

 

My command is :

tinyplay check.wav -D 0 -d 1 -p 8000 -n 8   it is showing that the audio is playing

Playing sample: 2 ch, 44100 hz, 16 bit

 

But I am not able to hear anything from AOUT. I am suspecting that there may be some audio routing issue. Can anyone explain me how the routing is done in Sabreauto running Android 5.1.

 

Thanks

Deepika

Outcomes