Hello,
Tinyplay utility fails to play a sample audio wav file when followed with the below steps on Android platform,
evk_8mq:/storage/emulated/0 # tinyplay testw2.wav
Unable to open PCM device 0 (cannot set hw params: Invalid argument)
No parameters are observed under ctl,type,num,name and value fileds.Tinymix displays the following content
evk_8mq:/storage/emulated/0 # tinymix
Mixer name: 'wm8524-audio'
Number of controls: 0
ctl type num name value
Can you please provide me some inputs on this?
Regards,
Deexith
Hi Deexith,
Check the sound card using cat /proc/asound/card0/id
if the id is wm8524audio, and you see pcm0p in card0, try to specify device and card using:
tinyplay test.wav -D 0 -d 0
BR,
Xiaocong