DescriptionSimplify AudioSplicer logic which slots buffers before or after a splice point.
Since the first post splice buffer after the config change has a splice_timestamp()
of kNoTimestamp() we can definitively say when we have the first post splice
buffer instead of having to relying on a problematic timestamp match.
The new code makes it so that clients must always call SetSpliceTimestamp() with
kNoTimestamp() once the first post splice buffer is received.
Adds tests to the AudioRendererImpl to verify behavior of the AudioBufferConverter
which impacts the splicer.
BUG=334493
TEST=existing tests pass.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264766
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264944
Patch Set 1 #
Total comments: 6
Patch Set 2 : Docs. #
Total comments: 4
Patch Set 3 : Remove duplicate checks. #Patch Set 4 : Drain AudioBufferConverter on config change. #Patch Set 5 : Add tests. #
Total comments: 8
Patch Set 6 : Comments. #
Messages
Total messages: 26 (0 generated)
|