Audio switching between Headset and speaker
‎01-30-2022
01:14 PM
798 Views
divyeshmarne0
Contributor III
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
1 Reply
‎01-31-2022
09:57 PM
789 Views

NXP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
