aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfritsch <peter.fruehberger@gmail.com>2012-08-30 23:09:29 +0200
committerfritsch <peter.fruehberger@gmail.com>2012-08-30 23:10:57 +0200
commit9f8d76857ccd5da5708c56b2b38dd5e8b6272521 (patch)
tree36c81322c841b4902132e28e716cbdf17847a1ea
parent9c3c4de83a577003c009ca5e85332d2485fbd208 (diff)
[AE] - Make sure, that m_channelLayout is updated, when user has set too many channels.
-rw-r--r--xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
index f37c9a9fac..6d653a372b 100644
--- a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
+++ b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
@@ -257,8 +257,7 @@ bool CAESinkALSA::InitializeHW(AEAudioFormat &format)
/* ensure we opened X channels or more */
if (format.m_channelLayout.Count() > channelCount)
{
- CLog::Log(LOGERROR, "CAESinkALSA::InitializeHW - Unable to open the required number of channels");
- return false;
+ CLog::Log(LOGINFO, "CAESinkALSA::InitializeHW - Unable to open the required number of channels");
}
/* update the channelLayout to what we managed to open */