diff options
author | Peter Frühberger <Peter.Fruehberger@gmail.com> | 2014-01-07 04:18:33 -0800 |
---|---|---|
committer | Peter Frühberger <Peter.Fruehberger@gmail.com> | 2014-01-07 04:18:33 -0800 |
commit | 0eba90506557ef08aecbed60852dfbc34c130d07 (patch) | |
tree | fcce043d3b11194986152273b7a296aa105fa6ec | |
parent | c4251c386593349843bb2d8b8a0a413bcf5100c6 (diff) | |
parent | df15dea05f352fb541404127f941c5d0c62db771 (diff) |
Merge pull request #3975 from FernetMenta/aefixes
ActiveAE: update buffered time of streams on resume after suspend
-rw-r--r-- | xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp index af7407433d..7aac8b9b90 100644 --- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp +++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp @@ -1049,6 +1049,9 @@ void CActiveAE::Configure(AEAudioFormat *desiredFmt) (*it)->m_limiter.SetSamplerate(outputFormat.m_sampleRate); } + // update buffered time of streams + m_stats.AddSamples(0, m_streams); + // buffers for viz if (!AE_IS_RAW(inputFormat.m_dataFormat)) { |