Add option to choose Audio backend, as WASAPI does not seem to be ideal for everyone..

Default to WASAPI though (Auto)
This commit is contained in:
Henrik Rydgard committed 2015-01-24 13:50:27 +01:00
1 parent 4ebdf49fb6
commit 790024c829
5 files changed
+17 -7

No files matched your search

+1 -1
View File
@@ -577,7 +577,7 @@ void NativeInitGraphics() {
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
#ifdef _WIN32
winAudioBackend = CreateAudioBackend(AUDIO_BACKEND_AUTO);
winAudioBackend = CreateAudioBackend((AudioBackendType)g_Config.iAudioBackend);
winAudioBackend->Init(MainWindow::GetHWND(), &Win32Mix, 44100);
#endif
}