ActiveAE: Don't compare m_frames in CompareFormat (it's given via samplerate anyways...
authorfritsch <Peter.Fruehberger@gmail.com>
Fri, 27 Dec 2013 22:01:58 +0000 (23:01 +0100)
committerfritsch <Peter.Fruehberger@gmail.com>
Fri, 27 Dec 2013 22:01:58 +0000 (23:01 +0100)
xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp

index 317d9e4..97cfbc6 100644 (file)
@@ -2273,8 +2273,7 @@ bool CActiveAE::CompareFormat(AEAudioFormat &lhs, AEAudioFormat &rhs)
 {
   if (lhs.m_channelLayout != rhs.m_channelLayout ||
       lhs.m_dataFormat != rhs.m_dataFormat ||
-      lhs.m_sampleRate != rhs.m_sampleRate ||
-      lhs.m_frames != rhs.m_frames)
+      lhs.m_sampleRate != rhs.m_sampleRate)
     return false;
   else
     return true;