Skip to content

Commit

Permalink
AE: squash me later
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Nov 24, 2015
1 parent 3fac961 commit 2292233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ unsigned int CActiveAESink::OutputSamples(CSampleBuffer* samples)
m_stats->UpdateSinkDelay(status, samples->pool ? written : 0);
}

if (m_requestedFormat.m_dataFormat == AE_FMT_RAW)
if (m_requestedFormat.m_dataFormat == AE_FMT_RAW && samples->pool)
m_stats->UpdateSinkDelay(status, 1);

return status.delay * 1000;
Expand Down

0 comments on commit 2292233

Please sign in to comment.