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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add route_audio flag to navigator group #234

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Karry
Copy link

@Karry Karry commented Sep 26, 2021

When navigation application is using navigator resource class (by setting NEMO_RESOURCE_CLASS_OVERRIDE environment variable), its voice instructions are played via phone speaker, even when bluetooth headphones are connected. By adding route_audio flag to xpolicy.conf, sound is routed via bluetooth headset properly. See Sailfish OS forum entry for more details: https://forum.sailfishos.org/t/navigation-instructions-doesnt-play-via-bluetooth-headphones-but-phone-speaker/7826

When navigation application is using navigator resource class (by setting NEMO_RESOURCE_CLASS_OVERRIDE environment variable), its voice instructions are played via phone speaker, even when bluetooth headphones are connected. By adding route_audio flag to xpolicy.conf, sound is routed via bluetooth headset properly. See Sailfish OS forum entry for more details: https://forum.sailfishos.org/t/navigation-instructions-doesnt-play-via-bluetooth-headphones-but-phone-speaker/7826
@jusa
Copy link
Contributor

jusa commented Oct 20, 2021

Apologies forgot to comment on this earlier. But this requires a bit more work in policy settings as well to get things right in all cases (bluetooth routing gets broken with just having route_audio here for example, ducking isn't correct. etc.).

I'm working on this but as I have had some distractions I haven't gotten this to PR level yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants