summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/OpenALStream.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2019-11-16 18:13:58 +0100
committerGitHub <noreply@github.com>2019-11-16 18:13:58 +0100
commitb712cc106bb918a8a06324a681e0c4a35b3473a9 (patch)
tree4767d95a842d3551a5918ededb17dfdccb866967 /Source/Core/AudioCommon/OpenALStream.cpp
parenta77108236ed5289f3def78495dcf387a46005e69 (diff)
parent08787ebc4a53bb9e64b3bb3c87f20e63c0d87841 (diff)
Merge pull request #7909 from LAGonauta/dplii-quality-slider
Add slider to change DPLII decoder quality
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/OpenALStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp
index 4852495d23..887e0f97f2 100644
--- a/Source/Core/AudioCommon/OpenALStream.cpp
+++ b/Source/Core/AudioCommon/OpenALStream.cpp
@@ -221,7 +221,7 @@ void OpenALStream::SoundLoop()
bool float32_capable = palIsExtensionPresent("AL_EXT_float32") != 0;
bool surround_capable = palIsExtensionPresent("AL_EXT_MCFORMATS") || IsCreativeXFi();
- bool use_surround = SConfig::GetInstance().bDPL2Decoder && surround_capable;
+ bool use_surround = SConfig::GetInstance().ShouldUseDPL2Decoder() && surround_capable;
// As there is no extension to check for 32-bit fixed point support
// and we know that only a X-Fi with hardware OpenAL supports it,