Skip to content

Commit

Permalink
AE: only send resample ratio if it was changed
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Sep 26, 2014
1 parent 667d2e0 commit 44f14c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEStream.cpp
Expand Up @@ -431,8 +431,9 @@ double CActiveAEStream::GetResampleRatio()

bool CActiveAEStream::SetResampleRatio(double ratio)
{
if (ratio != m_streamResampleRatio)
AE.SetStreamResampleRatio(this, ratio);
m_streamResampleRatio = ratio;
AE.SetStreamResampleRatio(this, m_streamResampleRatio);
return true;
}

Expand Down

0 comments on commit 44f14c6

Please sign in to comment.