From 547a7b942ec4c89d5dbba5fc3c6a1c69886edee5 Mon Sep 17 00:00:00 2001 From: fwcd Date: Fri, 19 Jul 2024 03:54:12 +0200 Subject: [PATCH] SoundManagerIOS: Remove unsupported/redundant options --- src/soundio/soundmanagerios.mm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/soundio/soundmanagerios.mm b/src/soundio/soundmanagerios.mm index b00f0284476..47fd2150520 100644 --- a/src/soundio/soundmanagerios.mm +++ b/src/soundio/soundmanagerios.mm @@ -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];