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:
Henrik Rydgard committed 2015-01-31 12:20:45 +01:00
1 parent 24c78ed2f4
commit 39bbc008f4
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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
+1
View File
@@ -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_;