Chromium Code Reviews
DescriptionAudioRendererImpl: Don't advance time when rendering stops.
This is a quick work-around for the bug below. AudioRendererImpl was
recently improved to estimate time's advancing along the last rendered
audio buffer between Render() calls. This means the clock is capable of
still advancing a bit after OnBufferingStateChange indicates we've run
out of data. While tehcnically correct, the clocks advancing causes
blink to emit 'timeupdate' events with time advancing after emitting
'waiting' indicating that no data is buffered. This change stops the
clock once the render has underflowed.
Longterm, blink should be improved to gaurd against emitting timeupdate
after waiting. This larger change will be done separately to give it
time to bake. https://codereview.chromium.org/2425463002/
BUG=648710
Committed: https://crrev.com/9409db28cd7402d4bad8022afbd2b3719de72d08
Cr-Commit-Position: refs/heads/master@{#425871}
Patch Set 1 #Patch Set 2 : Doing fix in ARI #
Total comments: 4
Patch Set 3 : feedback #
Messages
Total messages: 12 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||