Skip to content
Snippets Groups Projects
Commit 581dd52e authored by Thomas Guillem's avatar Thomas Guillem Committed by Steve Lhomme
Browse files

aout: fix drift handling when using aout_TimingReport()

Drift handling was not fully tested when the aout was using
aout_TimingReport() (and the audio was not the master).

It was working for big drifts (silence or flush) but not for small ones,
when the resampler was used because the last set drift was reset once
used.

Furthermore, stream_Synchronize() should not use past points but up to
date points including:
 - The silence already sent
 - The block resize (bigger or smaller) due to the resampler

The simplest way to achieve that is to use the audio delay, that is now
fixed when using aout_TimingReport().
parent d512b8b3
No related branches found
No related tags found
1 merge request!2731aout: fix drift handling (synchronize) when using aout_TimingReport()
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment