summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/OpenALStream.cpp
diff options
context:
space:
mode:
authorLAGonauta <lagonauta@gmail.com>2019-06-15 08:36:47 -0300
committerLAGonauta <lagonauta@gmail.com>2019-10-22 22:55:59 -0300
commit2ff646b79657f794390ff993b323b7b378ab08e5 (patch)
treefb23b760d0927122e1b027fc5ec8cfef9d908b09 /Source/Core/AudioCommon/OpenALStream.cpp
parent3c9eb37381d23ae63f975a637a4b362b44fffc49 (diff)
DSP must be set to LLE to select the decoder
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/OpenALStream.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp
index 4852495d23..51530088b2 100644
--- a/Source/Core/AudioCommon/OpenALStream.cpp
+++ b/Source/Core/AudioCommon/OpenALStream.cpp
@@ -221,7 +221,8 @@ 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().bDPL2Decoder && surround_capable && !SConfig::GetInstance().bDSPHLE;
// 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,