diff options
author | dalecurtis <dalecurtis@chromium.org> | 2014-11-25 15:32:37 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-25 23:32:58 +0000 |
commit | 8d4f5ec4f26857fd8081f88bad83e99be7c4dab4 (patch) | |
tree | 58843fb005d26314f6ce0e5e57b354a0f3830dab /ipc | |
parent | 9ccb26fb559573ee87f028dce13cb69e0f34c711 (diff) | |
download | chromium_src-8d4f5ec4f26857fd8081f88bad83e99be7c4dab4.zip chromium_src-8d4f5ec4f26857fd8081f88bad83e99be7c4dab4.tar.gz chromium_src-8d4f5ec4f26857fd8081f88bad83e99be7c4dab4.tar.bz2 |
Delay audio rendering until the clock reaches the first timestamp.
Since AudioClock no longer looks at timestamps, indeed they've been
completely removed from AudioRendererAlgorithm, ARI::Render() has no
way to correct for media where the video starts before the audio.
We don't want to add timestamp information back everywhere, so this
change just tracks the first decoded timestamp received and uses
that to delay rendering (by writing silence) until the appropriate
time is reached.
Since this may result in partial fills, AudioRendererAlgorithm has
been extended to include an offset into the buffer for writing.
BUG=435908
TEST=new unittest, sample media works.
Review URL: https://codereview.chromium.org/757733003
Cr-Commit-Position: refs/heads/master@{#305727}
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions