Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed, CSoftAEStream::GetCacheTime was calculated wrong

  • Loading branch information...
commit 6b28a05e74307196d915591e2d0d09fafd054f3c 1 parent b8c297c
@davilla davilla authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/cores/AudioEngine/Engines/SoftAE/SoftAEStream.cpp
View
2  xbmc/cores/AudioEngine/Engines/SoftAE/SoftAEStream.cpp
@@ -496,7 +496,7 @@ double CSoftAEStream::GetCacheTime()
double time;
time = (double)(m_inputBuffer.Used() / m_format.m_frameSize) / (double)m_format.m_sampleRate;
- time += (double)(m_waterLevel - m_framesBuffered) / (double)AE.GetSampleRate();
+ time += (double)m_framesBuffered / (double)AE.GetSampleRate();
time += AE.GetCacheTime();
return time;
}
Please sign in to comment.
Something went wrong with that request. Please try again.