summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/AudioCommon.cpp
diff options
context:
space:
mode:
authorshuffle2 <godisgovernment@gmail.com>2019-03-18 13:59:28 -0700
committerGitHub <noreply@github.com>2019-03-18 13:59:28 -0700
commitc54710844bea4c6dd2e7ddf5c4ad1d9dba7a0487 (patch)
tree457c29fc15bacde3bb8ccbde5e04f78e7a986aa8 /Source/Core/AudioCommon/AudioCommon.cpp
parent54e09886d8fdaa1eefbb28e19165fdea4900b61a (diff)
parent99a35568ca9ff846f95b59f6e34a7d94059c19bc (diff)
Merge pull request #6171 from LAGonauta/xaudio2-surround
Added DPL2 decoder to XAudio2 and XAudio2_7 backends.
Diffstat (limited to 'Source/Core/AudioCommon/AudioCommon.cpp')
-rw-r--r--Source/Core/AudioCommon/AudioCommon.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/AudioCommon/AudioCommon.cpp b/Source/Core/AudioCommon/AudioCommon.cpp
index 14bef2ce62..450d2ff8c5 100644
--- a/Source/Core/AudioCommon/AudioCommon.cpp
+++ b/Source/Core/AudioCommon/AudioCommon.cpp
@@ -129,6 +129,8 @@ bool SupportsDPL2Decoder(const std::string& backend)
return true;
if (backend == BACKEND_PULSEAUDIO)
return true;
+ if (backend == BACKEND_XAUDIO2)
+ return true;
return false;
}