aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp
index 362fae6d4e..d38afea2b5 100644
--- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp
+++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp
@@ -553,8 +553,7 @@ bool CActiveAEBufferPoolResample::ResampleBuffers(int64_t timestamp)
void CActiveAEBufferPoolResample::ConfigureResampler(bool normalizelevels, bool dspenabled, bool stereoupmix, AEQuality quality)
{
bool normalize = true;
- if ((m_format.m_channelLayout.Count() < m_inputFormat.m_channelLayout.Count()) &&
- normalizelevels)
+ if ((m_format.m_channelLayout.Count() < m_inputFormat.m_channelLayout.Count()) && !normalizelevels)
normalize = false;
/* Disable upmix if DSP layout > 2.0, becomes perfomed by DSP */