aout: fix discontinuity handling
- Jun 26, 2024
-
-
Changing timings of the stream module while playing is an intricate task, therefore modules don't handle any PTS discontinuity. The PTS discontinuity is now handled in the core: - Drain the current stream in case of discontinuity - Check from future Play() calls if the stream is drained - Keep blocks in a list while waiting for the drain - Flush when the stream is finally drained - Play back all blocks that were saved
46a98b84 -
No functional changes, this will be needed by next commits.
87e96c29 -
5ed6db74
-
It is not used for stream discontinuity but to distinguish if a buffer had already been played.
f5e04ec3 -
It is set back to false just before aout->play and the variable is not read in between.
d4782410
-