-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4286f55
commit 18cd32f
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/audio/out/ao_audiounit.m b/audio/out/ao_audiounit.m | ||
index 85b1226dc9..a4130357bc 100644 | ||
--- a/audio/out/ao_audiounit.m | ||
+++ b/audio/out/ao_audiounit.m | ||
@@ -115,7 +115,7 @@ static bool init_audiounit(struct ao *ao) | ||
|
||
MP_VERBOSE(ao, "max channels: %ld, requested: %d\n", maxChannels, (int)ao->channels.num); | ||
|
||
- [instance setCategory:AVAudioSessionCategoryPlayback error:nil]; | ||
+ [instance setCategory:AVAudioSessionCategoryPlayback withOptions:AVAudioSessionCategoryOptionMixWithOthers error:nil]; | ||
[instance setMode:AVAudioSessionModeMoviePlayback error:nil]; | ||
[instance setActive:YES error:nil]; | ||
[instance setPreferredOutputNumberOfChannels:prefChannels error:nil]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters