upstream updates

This commit is contained in:
TrueZhuangjia authored and TrueZhuanjia committed 2025-05-15 15:30:00 +08:00
1 parent e7998c3559
commit 4edf1e2cf5
6 files changed
+245 -394

No files matched your search

+3
View File
@@ -254,6 +254,9 @@ int ArInit(int audioConfiguration, POPUS_MULTISTREAM_CONFIGURATION opusConfig, v
// Start playback
SDL_PauseAudioDevice(audioDevice, 0);
// Disable lowering volume of other audio streams (SDL sets AVAudioSessionCategoryOptionDuckOthers by default)
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback withOptions:AVAudioSessionCategoryOptionMixWithOthers error:nil];
return 0;
}