aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <fernetmenta@online.de>2013-08-12 09:40:38 +0200
committerunknown <fernetmenta@online.de>2013-08-22 08:48:12 +0200
commitada43b2dd1255eec9cae8f3c061fbf138346d33a (patch)
treecf6b6f772a982c5987957b0b4a46772ad761b576
parentfdc8e9af6637f8f0506b49985c80c32a29395e60 (diff)
ActiveAE: engage transcode for stereo if upmix is selected
-rw-r--r--xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
index bc861ae15e..4326729468 100644
--- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
+++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
@@ -1172,7 +1172,7 @@ void CActiveAE::ApplySettingsToFormat(AEAudioFormat &format, AudioSettings &sett
settings.ac3passthrough &&
(!settings.multichannellpcm || (m_settings.mode != AUDIO_HDMI)) &&
!m_streams.empty() &&
- format.m_channelLayout.Count() > 2)
+ (format.m_channelLayout.Count() > 2 || settings.stereoupmix))
{
format.m_dataFormat = AE_FMT_AC3;
format.m_sampleRate = 48000;