SoundAbout
Would you like to react to this message? Create an account in a few clicks or log in to continue.

USB headset for phone call audio

2 posters

Go down

USB headset for phone call audio Empty USB headset for phone call audio

Post by -peter- Thu Oct 08, 2015 10:56 am

Is there a way for SoundAbout to let me route the speaker and microphone through a USB headset specifically for phone calls?

On my phone the USB headset works perfectly with Skype and other VOIP applications (just plug and play, no special effort). But with regular phone calls, the phone completely ignores the USB headset, even though in the SoundAbout settings, USB Host Usage and USB Client Usage are both checked, and Let App Decide is checked for phone call audio.

Running CM12.1 on a OnePlus One and SoundAbout Beta Version 2.6.6.1

-peter-

Posts : 1
Join date : 2015-10-08

Back to top Go down

USB headset for phone call audio Empty Re: USB headset for phone call audio

Post by SoundAbout Thu Oct 08, 2015 10:31 pm

The Android Audio Policy Manager won't allow USB during a phone call.

When in a VOIP call the mPhoneState is set to MODE_IN_COMMUNICATION.
When in a real phone call the mPhoneState is set to MODE_IN_CALL.

The code below is from the Android Audio Policy Manager. It say if the phone state is NOT (!=) MODE_IN_CALL, then allow AUDIO_DEVICE_OUT_USB_ACCESSORY and AUDIO_DEVICE_OUT_USB_DEVICE.

You can also see that Dock output and Aux Digital (HDMI) is not allowed for phone calls.

if (mPhoneState != AudioSystem::MODE_IN_CALL) {
device = mAvailableOutputDevices & AUDIO_DEVICE_OUT_USB_ACCESSORY;
if (device) break;
device = mAvailableOutputDevices & AUDIO_DEVICE_OUT_USB_DEVICE;
if (device) break;
device = mAvailableOutputDevices & AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET;
if (device) break;
device = mAvailableOutputDevices & AUDIO_DEVICE_OUT_AUX_DIGITAL;
if (device) break;
device = mAvailableOutputDevices & AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET;
if (device) break;
}
SoundAbout
SoundAbout
Admin

Posts : 1492
Join date : 2013-04-26
Location : Boston, MA

https://soundabout.forumotion.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum