git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit 41af62d79309da60ccd426cd92cde1bb31da641c
parent 2dfde867a9c614fd274f7b1c1d573295599f57c1
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Fri,  8 Nov 2024 23:53:36 +0200

Fix volume being too low in "Always On" audio mode. Fixes #667, fixes #664

Diffstat:
MiOS/GBViewController.m4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iOS/GBViewController.m b/iOS/GBViewController.m @@ -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"]; }

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.