aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2013-08-20 12:39:02 +0200
committerRainer Hochecker <fernetmenta@online.de>2013-08-22 12:58:03 +0200
commit36ae2107b9f77ef06b0f4d5a10fa2f0f29935f8b (patch)
tree8d1fe537c1129aad3ed464ee6a9a41a3c4d55247
parent9900101a2f987955a1918c1e8c216e9a18f5ec94 (diff)
ActiveAE: only request two channels when transcoding to AC3
-rw-r--r--xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
index 3afefa8ab1..66d34cbbe1 100644
--- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
+++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
@@ -1216,6 +1216,7 @@ void CActiveAE::ApplySettingsToFormat(AEAudioFormat &format, AudioSettings &sett
{
format.m_dataFormat = AE_FMT_AC3;
format.m_sampleRate = 48000;
+ format.m_channelLayout = AE_CH_LAYOUT_2_0;
if (setmode)
m_mode = MODE_TRANSCODE;
}