Dear Sir or Madam,
Our product have two sound card and we want different sound can through the dif card output.
Now out hw platform is IMX6 and use android system. We find the default code didn't implement the function.
Do you know what code needs to modified?
Thanks.
First, you have to change the Android HAL according to your hardware configuration. Then, a custom application should be created. For more information, refer to the Android Developer sites:
https://source.android.com/devices/audio/index.html
http://developer.android.com/reference/android/media/package-summary.html
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
Thanks for your reply. I already modify hal to support second sound card, but now at the same time, there is only one sound card work.
But I need play different audio through HDMI and Speaker simultaneously in android? Can you give me some advice?
Thanks.