[Chromecast] If timestamps are continuously off, resync
On some SoMs it was observed that occasionally the timestamps obtained from the AudioTrack are suddenly consistently off from their expected value. This is different from just normal timestamp jitter which evens out over time. The result is errors flooding the logs due to the way we handle this currently. While jumping timestamps is certainly indicative of a bug in the audio HAL driver, we should still handle this better and simply resync to the new offset. Bug: internal b/77654451 Test: Ran on several different SoMs, verfied proper behaviors. Change-Id: Ia12ad4980ac69e7b81ea498f8edc197b60bf5038 Reviewed-on: https://chromium-review.googlesource.com/1003994Reviewed-by:Kenneth MacKay <kmackay@chromium.org> Commit-Queue: Chris Kuiper <ckuiper@chromium.org> Cr-Commit-Position: refs/heads/master@{#549920}
Showing
Please register or sign in to comment