Skip to content

Commit

Permalink
Merge pull request mixxxdj#13487 from fwcd/soundmanagerios-remove-red…
Browse files Browse the repository at this point in the history
…undant-options

SoundManagerIOS: Remove unsupported/redundant options
  • Loading branch information
m0dB authored Jul 19, 2024
2 parents 992fe29 + 547a7b9 commit 7c852d6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/soundio/soundmanagerios.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ void initializeAVAudioSession() {
AVAudioSessionCategory category = AVAudioSessionCategoryPlayback;
AVAudioSessionMode mode = AVAudioSessionModeDefault;
AVAudioSessionCategoryOptions options =
AVAudioSessionCategoryOptionMixWithOthers |
AVAudioSessionCategoryOptionAllowAirPlay |
AVAudioSessionCategoryOptionAllowBluetoothA2DP;
AVAudioSessionCategoryOptionMixWithOthers;

NSError* error = nil;
[session setCategory:category mode:mode options:options error:&error];
Expand Down

0 comments on commit 7c852d6

Please sign in to comment.