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

fix: pause spoken audio like podcast or audiobook #267

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

fnazarios
Copy link
Contributor

This PR fixes the spoken audio on iOS. If the user is listening to a spoken audio like a podcast or audiobook, the TTS should pause the other audio session and duck if a user is listening to music.

https://developer.apple.com/documentation/avfaudio/avaudiosessioncategoryoptions/avaudiosessioncategoryoptioninterruptspokenaudioandmixwithothers?language=objc

@walterholohan walterholohan merged commit e0e4e8b into ak1394:master Jun 12, 2024
1 check failed
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