mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 00:29:57 +00: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:
parent
24c78ed2f4
commit
39bbc008f4
@ -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_;
|
||||
|
Loading…
Reference in New Issue
Block a user