diff options
author | dalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-20 22:04:05 +0000 |
---|---|---|
committer | dalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-20 22:04:05 +0000 |
commit | b897d5caed9c84579564d4a6d8b864776931616a (patch) | |
tree | f1a4b9a56080a1b5bac0623027eae643a9d90ce2 /cloud_print | |
parent | 4771405b33b4372e7d24dab4287ca80017c66621 (diff) | |
download | chromium_src-b897d5caed9c84579564d4a6d8b864776931616a.zip chromium_src-b897d5caed9c84579564d4a6d8b864776931616a.tar.gz chromium_src-b897d5caed9c84579564d4a6d8b864776931616a.tar.bz2 |
Simplify 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
Review URL: https://codereview.chromium.org/240123004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264944 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print')
0 files changed, 0 insertions, 0 deletions