Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign "headphone" or "always" mode to TTS output, instead of always-on #15631

Open
firefoxlover opened this issue Nov 3, 2022 · 4 comments
Open
Labels
Observed Needs more clarification, feedback, or research

Comments

@firefoxlover
Copy link

馃殌 feature request

Description

It is so annoying. I always use two modes, either handheld, on a phone mount or just to check, or with TTS, headphones plugged in, in my pocket.

OSMAnd doesnt differentiate between headphone-in and speaker mode, unlike a lot of music player apps.

Describe the solution you'd like

Add the features:

TTS "activate when on headphones" "activate" "deactivate'

Describe alternatives you've considered

Manually turning on and off, quick menu.

@firefoxlover firefoxlover changed the title Assing 2 TTS states to headphone-in and speaker mode Assign "headphone" or "always" mode to TTS output, instead of always-on Nov 3, 2022
@vshcherb
Copy link
Member

Not reproduced

@vshcherb vshcherb added the Observed Needs more clarification, feedback, or research label Dec 12, 2022
@sonora
Copy link
Member

sonora commented Dec 12, 2022

@firefoxlover Can you be more explicit what issue you observe and how to reproduce? I use OsmAnd TTS frequently, including occasionally changing between device speaker, wired earplugs, BT earplugs,, and car stereo via Bluetooth/SCO, but observe no issue?

@firefoxlover
Copy link
Author

The request is enabling detection of the connected state. If plugged out, TTS goes silent. This is enabled perfectly in VLC Android.

The problem is, that you may not want loud TTS if you have no headphones plugged in.

@sonora
Copy link
Member

sonora commented Dec 12, 2022

Ah, understand. So you want OsmAnd to be muted when no wired headset is connected, and be automatically unmuted when one is connected.

Yes, doable, of course. There used to be an AudioManager method isWiredHeadsetOn(), which was deprecated and now is replaced by more complex ways of evaluating possible output devices via the AudioDeviceInfo[] array.

But this seems like a rather specific request a little far from main stream, I am not sure I would readily say "great idea, likely welcomed by the masses"... ;) As a workaround: There is a Voice on/off quick action button you could put on the map screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Observed Needs more clarification, feedback, or research
Projects
None yet
Development

No branches or pull requests

3 participants