Implement the "Mix audio with other apps" setting on Android.

This commit is contained in:
Henrik Rydgård committed 2026-05-31 19:08:45 +02:00
1 parent 93340779e1
commit e8e357e360
4 files changed
+33 -5

No files matched your search

+2
View File
@@ -661,6 +661,8 @@ void GameSettingsScreen::CreateAudioSettings(UI::ViewGroup *audioSettings) {
System_Notify(SystemNotification::AUDIO_MODE_CHANGED);
});
respectSilentMode->SetEnabledPtr(&g_Config.bEnableSound);
#endif
#if PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(IOS)
CheckBox *mixWithOthers = audioSettings->Add(new CheckBox(&g_Config.bAudioMixWithOthers, a->T("Mix audio with other apps")));
mixWithOthers->OnClick.Add([=](EventParams &e) {
System_Notify(SystemNotification::AUDIO_MODE_CHANGED);