Enabling external speaker during call | developer.brewmp.com Enabling external speaker during call | developer.brewmp.com

Developer

Enabling external speaker during call

Forums:

Is there a way to turn on the external speaker through an API call during a call (i.e. to mimic the softkey speakerphone option) ? I have a headless M2M device and a keyboard/display hotkey is not an option.

 

I tried using ISound_SetDevice() and it works for music playback but as soon as a call is started the call audio gets routed to the headphone output.

Hey Qualcomm...
How about stepping up to the plate here. This issue's been around a a long time on several posts and I've yet to see any meaningful input from you.

Hey Qualcomm...
How about stepping up to the plate here. This issue's been around a a long time on several posts and I've yet to see any meaningful input from you.

If it's okay for the sound to cut out for a split second, maybe just do SetDevice() again after the call is started.
 
I have found using SetDevice() for a call to be a bit tricky. Try setting a timer for 500 ms that will call SetDevice after the call is connected (AEET_EVENT_CALL_CONNECT). If I don't set this timer, the device change fails.

If it's okay for the sound to cut out for a split second, maybe just do SetDevice() again after the call is started.
 
I have found using SetDevice() for a call to be a bit tricky. Try setting a timer for 500 ms that will call SetDevice after the call is connected (AEET_EVENT_CALL_CONNECT). If I don't set this timer, the device change fails.

Thanks Kyt, I'll try that and let you know how it goes.

Thanks Kyt, I'll try that and let you know how it goes.