Page 1 of 1

Mute speaker when headset is plugged in

Posted: 19 Oct 2017 16:00
by Shield
Hello,

despite the fact that a headset is used, the audio of certain stream types (at least alarm, ring and notification on my Samsung SII+) is still routed to the speaker as well. :shock:

Because of this, the only way to prevent people from hearing the phone ringing, receiving WhatsApp messages etc. is to set the ringer mode to Silent. Meaning I won't hear such things as well... :(

This is not an Automagic issue but a well known android flaw for years, and seen on many devices (https://issuetracker.google.com/issues/36928407). As far as I know the app SoundAbout is the only one which addresses this issue, and since it works perfectly on my device, I wonder if it would be possible for Automagic to do the same (something like 'if headset is plugged in -> turn off speaker')?

Re: Mute speaker when headset is plugged in

Posted: 21 Oct 2017 15:22
by Martin
Hi,

I'm not sure how SoundAbout does it but you could try to achieve something similar, you could turn the device to silent mode and play a sound with action Sound when a call is ringing.
I'll add a note to investigate what SoundAbout does. I fear that it's in unofficial API territory so I will likely not add support for this anytime soon.

Regards,
Martin

Re: Mute speaker when headset is plugged in

Posted: 28 Oct 2017 05:34
by Shield
Hi Martin,

thank you for taking a look into it. Since it's always beneficial to become the only alternative to another app, I hope for the best. ;)