mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
Implement the "Mix audio with other apps" setting on Android.
This commit is contained in:
1 parent
93340779e1
commit
e8e357e360
4 files changed
+33
-5
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user