I'm using IMX53 QSB with Andeneo Android 2.3 and need to play video via HDMI cable but no sound out put
but only SGTL5000. How to set default with card1 (imx3stackspdif) instead card0 (SGTL5000) ?
# /system/bin/alsa_aplay -D hw:1,0 -f dat /mnt/sdcard/download/equinox-48KHz.wav
Play a wav file by using the alsa_player and it can ouput via HMDI that mean the driver works properly
Have you tried anything?
I´ve been studying this, and looks like Android would be able to swicth to HDMI audo automaticaly.
I was not able to get a HDMI monitor so far, so I had not tried it yet.
Could you, please, share your tests?
Thanks for your respond,
Maybe there are some limit in the Android source code of Adeneo. I tried it but no result, only audio output via the headphone Jack.
Android doesn't like linux, I don't known where to setting HDMI audio output options or modify the source code.
well, if you want to modify source code, you will change something on alsa, but I took a look in the source, and it looks like it is smart enough to understand when you swap the output.
Maybe, some set.prop on Android layer to determinates the output....
Sorry for my delay. I may had missed your comment on my document.
I´m still working on how to configure spdif/hdmi default output for android rootfs, so I don´t have a detailed how-to.
As soon as I have any update I let you know