[Chromecast] Use precise PTS reporting from audio pipeline
The AV sync code needs a very accurate idea of the rate of playback of the audio to function properly. The current APIs get the PTS at the 'current' time, which is vulnerable to thread de-scheduling while the value is being measured. Instead, define a new API in the audio pipeline, which atomically returns the PTS at a timestamp. Bug: None Test: Manual Change-Id: I5c4148066f8293424e7b32f8fd6b5e66ea62e4d0 Reviewed-on: https://chromium-review.googlesource.com/1121591 Commit-Queue: Mina Almasry <almasrymina@chromium.org> Reviewed-by:Kenneth MacKay <kmackay@chromium.org> Cr-Commit-Position: refs/heads/master@{#572044}
Showing
Please register or sign in to comment