Hi team
Im using imx8mm with android 11 code.
So im integrating IMX with TLV320AIC3104 audio codec.
Im able to hear voice properly from all the outputs.
But the problem is that :
Whenever we are playing any audio file. It is playing from all the outputs at the same time.
What needs to be done to assign priorities between Headphone and Speaker.
Example: if audio is playing from speaker, at the same time if I plugged in headset, that time audio sound should route to headset from speaker and spkr output should turned off
Thanks
You can refer to chapter 8.2 "Audio configuration" of Android User's Guide:
https://www.nxp.com/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf