Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(662)

Issue 2562243005: Make AudioTimestampHelper::TimeToFrames() more accurate (Closed)

Created:
4 years ago by Mikhail
Modified:
4 years ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make AudioTimestampHelper::TimeToFrames() more accurate This patch uses 'std::round' to make result of AudioTimestampHelper::TimeToFrames() more accurate. Before, this translation was eating frames on each call, leading to significant loss of accuracy in AudioConverter: initial delay of 0.011609s at 'AudioRendererMixer::Render' changed to 0.011587s 'AudioRendererMixerInput::ProvideInput'. BUG=619533 Committed: https://crrev.com/900df16a521d74065ed5c566e563eb29d317ae91 Cr-Commit-Position: refs/heads/master@{#438464}

Patch Set 1 #

Patch Set 2 : Modified unittests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M media/base/audio_timestamp_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/base/audio_timestamp_helper_unittest.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (16 generated)
Mikhail
Please take a look
4 years ago (2016-12-13 16:37:35 UTC) #11
chcunningham
LTGM % perf tests confirming things look good. Can you run the Audio tests from ...
4 years ago (2016-12-13 20:20:38 UTC) #14
chcunningham
On 2016/12/13 20:20:38, chcunningham wrote: > LTGM % perf tests confirming things look good. > ...
4 years ago (2016-12-13 20:21:06 UTC) #15
James West
lgtm
4 years ago (2016-12-13 22:20:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2562243005/20001
4 years ago (2016-12-14 08:50:47 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-14 08:56:06 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-14 08:57:45 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/900df16a521d74065ed5c566e563eb29d317ae91
Cr-Commit-Position: refs/heads/master@{#438464}

Powered by Google App Engine
This is Rietveld 408576698