aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfritsch <Peter.Fruehberger@gmail.com>2013-12-27 23:01:58 +0100
committerfritsch <Peter.Fruehberger@gmail.com>2013-12-27 23:01:58 +0100
commitb8177b998852a0d5a47ae61c663c09ad4353b0da (patch)
tree299d9747beb747b3fb997d2d09d6dd9020c2a961
parent892dd6bd57507730b56552b8c66289290fa4f445 (diff)
ActiveAE: Don't compare m_frames in CompareFormat (it's given via samplerate anyways and zero for silence)
-rw-r--r--xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
index 317d9e460f..97cfbc65cd 100644
--- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
+++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
@@ -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;