mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-31 22:21:51 +02:00
This commit is contained in:
@@ -188,9 +188,9 @@ static void rumbleCallback(GB_gameboy_t *gb, double amp)
|
||||
} forKey:@"GBRewindLength"];
|
||||
[self addDefaultObserver:^(id newValue) {
|
||||
[[AVAudioSession sharedInstance] setCategory:[newValue isEqual:@"on"]? AVAudioSessionCategoryPlayback : AVAudioSessionCategorySoloAmbient
|
||||
mode:AVAudioSessionModeMeasurement // Reduces latency on BT
|
||||
mode:AVAudioSessionModeDefault
|
||||
routeSharingPolicy:AVAudioSessionRouteSharingPolicyDefault
|
||||
options:AVAudioSessionCategoryOptionAllowBluetoothA2DP | AVAudioSessionCategoryOptionAllowAirPlay
|
||||
options:0
|
||||
error:nil];
|
||||
} forKey:@"GBAudioMode"];
|
||||
}
|
||||
|
Reference in New Issue
Block a user