mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Add option to turn off the resampler if native audio sample rate is 44100Hz (sometimes in WASAPI, always in DSOUND)
This commit is contained in:
1 parent
24c78ed2f4
commit
39bbc008f4
2 files changed
+2
-1
No files matched your search
@@ -342,7 +342,7 @@ void GameSettingsScreen::CreateViews() {
|
||||
|
||||
#ifdef _WIN32
|
||||
static const char *backend[] = { "Auto", "WASAPI (fast)", "DirectSound (compatible)" };
|
||||
PopupMultiChoice *audioBackend = audioSettings->Add(new PopupMultiChoice(&g_Config.iAudioBackend, a->T("Audio backend"), backend, 0, ARRAY_SIZE(backend), a, screenManager()));
|
||||
PopupMultiChoice *audioBackend = audioSettings->Add(new PopupMultiChoice(&g_Config.iAudioBackend, a->T("Audio backend", "Audio backend (change requires restart)"), backend, 0, ARRAY_SIZE(backend), a, screenManager()));
|
||||
audioBackend->SetEnabledPtr(&g_Config.bEnableSound);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -97,6 +97,7 @@ private:
|
||||
UI::EventReturn OnImmersiveModeChange(UI::EventParams &e);
|
||||
|
||||
UI::EventReturn OnAdhocGuides(UI::EventParams &e);
|
||||
UI::EventReturn OnAudioBackend(UI::EventParams &e);
|
||||
|
||||
// Temporaries to convert bools to int settings
|
||||
bool cap60FPS_;
|
||||
|
||||
Reference in new issue
Block a user