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

Issue 2127413002: Check for bad floating point rounding in audio_renderer_algorithm. (Closed)

Created:
4 years, 5 months ago by Max Morin
Modified:
4 years, 5 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check for bad floating point rounding in audio_renderer_algorithm. BUG=622125 Committed: https://crrev.com/4b4d410a51e381550a06eed06eed502a69ef1508 Cr-Commit-Position: refs/heads/master@{#405062}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Simplify. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M media/filters/audio_renderer_algorithm.cc View 1 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 18 (7 generated)
Max Morin
Please take a look.
4 years, 5 months ago (2016-07-08 09:20:12 UTC) #3
Max Morin
By the way, playback_rate should never be negative, right? If so, I'll add a DCHECK ...
4 years, 5 months ago (2016-07-08 09:38:21 UTC) #4
DaleCurtis
https://codereview.chromium.org/2127413002/diff/1/media/filters/audio_renderer_algorithm.cc File media/filters/audio_renderer_algorithm.cc (left): https://codereview.chromium.org/2127413002/diff/1/media/filters/audio_renderer_algorithm.cc#oldcode163 media/filters/audio_renderer_algorithm.cc:163: int seek_frames = static_cast<int>(muted_partial_frame_); Don't we just want std::min((int)(muted_partial_frame_), ...
4 years, 5 months ago (2016-07-08 18:42:48 UTC) #5
Max Morin
PTAL. I also added a DCHECK for negative playback rates. https://codereview.chromium.org/2127413002/diff/1/media/filters/audio_renderer_algorithm.cc File media/filters/audio_renderer_algorithm.cc (left): https://codereview.chromium.org/2127413002/diff/1/media/filters/audio_renderer_algorithm.cc#oldcode163 ...
4 years, 5 months ago (2016-07-08 23:31:12 UTC) #6
DaleCurtis
lgtm
4 years, 5 months ago (2016-07-11 18:45:06 UTC) #7
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/2127413002/20001
4 years, 5 months ago (2016-07-12 08:03:52 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/253928)
4 years, 5 months ago (2016-07-12 10:20:47 UTC) #11
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/2127413002/20001
4 years, 5 months ago (2016-07-13 05:22:41 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-13 07:05:56 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 07:06:01 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 07:09:31 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4b4d410a51e381550a06eed06eed502a69ef1508
Cr-Commit-Position: refs/heads/master@{#405062}

Powered by Google App Engine
This is Rietveld 408576698