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

iOS: Fix AirPods routing when Play and Record category is used. #89594

Merged
1 commit merged into from
Mar 24, 2024

Conversation

LeonardoDemartino
Copy link
Contributor

So after the changes merged on #89006, the Play and Record audio session category is almost perfect on iOS (this means normal volume both on speakers and headphones!). However, I decided to try it out with my AirPods and, surprisingly, Godot didn't change the route to them. :(

This pull request does what SDL does, it adds two extra options when Play and Record is used to fix the issue:
AVAudioSessionCategoryOptionAllowBluetoothA2DP
AVAudioSessionCategoryOptionAllowAirPlay

@akien-mga akien-mga closed this pull request by merging all changes into godotengine:master in 06abc86 Mar 24, 2024
akien-mga added a commit that referenced this pull request Mar 24, 2024
iOS: Fix AirPods routing when Play and Record category is used.
@akien-mga
Copy link
Member

Thanks!

@LeonardoDemartino LeonardoDemartino deleted the ios_airpods_routing branch October 9, 2024 11:50
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.

4 participants