In my device I need to use a USB camera. However since it is a capture device it become a pcm capture option in /proc/asound/cards.
We also need to use HDMI with audio output. Which is ok, using the right resolutions, it will be mapped to card0 in asound list.
However if I start my board with the USB camera plugged in, it is mapped as card0 and HDMI as card1. However I cannot switch the default audio card using android, how could I do it?
I think it is mainly because CM_CARD is hardcoded to 0 in ti/omap3/audio/audio_hw.c, why is that? is it right?