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

#490 | Fixing Audio in Silent Mode 🔈 #550

Merged
merged 4 commits into from
Apr 11, 2022

Conversation

jsmorgan42
Copy link
Contributor

@jsmorgan42 jsmorgan42 commented Apr 7, 2022

closes #490

Description of Work

The audio was not playing in silent mode when tapping on phrases or reading out text. To fix this, the AudioEngineCategory is initialized as a property in SpeechRecognitionController so that the audio session category is initially set to playback to allow audio in silent mode. Also fixed issue where audio session wasn't switching back to playback after turning off listening mode.


@jsmorgan42 jsmorgan42 changed the title #490 | Sets audio category to playback to allow audio in silent mode #490 | Fixing Audio in Silent Mode 🔈 Apr 7, 2022
@jsmorgan42 jsmorgan42 added the WIP label Apr 7, 2022
@rhsalas3
Copy link
Contributor

rhsalas3 commented Apr 8, 2022

Tested and verified to be working as expected. Regardless of the state of the 'silent mode' switch on an iPhone device, the app will speak aloud selections.

I did find an issue whereby the volume level of the output is very low when listening mode is engaged. It corrects itself when you turn off listening mode. But this behavior is reproducible on develop. So I will write up a separate bug for it.

@jsmorgan42 jsmorgan42 merged commit fd728d5 into develop Apr 11, 2022
@jsmorgan42 jsmorgan42 deleted the bugfix/490-silent-mode-audio branch April 11, 2022 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No Audio When Device is in 'Silent Mode'
3 participants