diff options
author | Sven Gothel <[email protected]> | 2023-10-04 11:16:40 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-10-04 11:16:40 +0200 |
commit | edf181e8a75f41c7d7e8de5d65c51d66f01fd61c (patch) | |
tree | d99ed037ceb8eed91962d255515686e6390648bc /openal-soft | |
parent | 46a14783593f5e06125ad9b28e4a091e0ee4560e (diff) |
Bug 1473 - ALAudioSink: AV Synchronization Broken, Regression in-between JogAmp Version [2.4.0 - 2.5.0]
- Adopt to simplified AudioSink
- Add lastBufferedPTS and expose it
- Cleanup short* and perf*String() trace/debug presentations to simplify review
- Hence drop growBuffers()
- Set initial avgFrameDuration to latency, at least a good start
+++
dequeueBuffer(..):
- Pass releaseBufferCountReq directly, tangible only if wait == true,
have enqueueData(..) determine the wait and releaseBufferCountReq value.
- Drop dequeueBuffer(..) overload caller, simplifying code
- Don't change playingPTS(..) in overload caller, enqueueData(..) takes care of it
- Align DEBUG trace with enqueueData(..) to simplify review
- Otherwise no semnatic change in dequeueBuffer(..)
enqueueData(..):
- Dropped growBuffers()
- Show DEBUG trace before actual dequeueBuffer(..) to have meanigful output
- SOFT (no-wait) dequeueBuffer(..) triggers on 2/3rd full queue
- HARD (wait) dequeueBuffer(..) if queue is full
- Set playingPTS, either use
- old queue-tip (too old) and add (forward) 60% of queue-buffer time
- new queue-tail (too young), subtract (delay) 40% of queue-buffer time
Diffstat (limited to 'openal-soft')
0 files changed, 0 insertions, 0 deletions