From 9f8d76857ccd5da5708c56b2b38dd5e8b6272521 Mon Sep 17 00:00:00 2001 From: fritsch Date: Thu, 30 Aug 2012 23:09:29 +0200 Subject: [AE] - Make sure, that m_channelLayout is updated, when user has set too many channels. --- xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp | 3 +-- 1 file changed, 1 insertion(+), 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 */ -- cgit v1.2.3