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

Issue 2881713002: Reland Replace AudioFifo with a deque of AudioBus in ATR::AudioEncoder (Closed)

Created:
3 years, 7 months ago by Chandan
Modified:
3 years, 7 months ago
Reviewers:
mcasas, miu
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, emircan+watch+mediarecorder_chromium.org, mcasas+mediarecorder_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland Replace AudioFifo with a deque of AudioBus in ATR::AudioEncoder Link to original CL: https://codereview.chromium.org/2854363002/ Original CL description: This CL uses a std::deque<std::unique_ptr<media::AudioBus>> instead of an AudioFifo, to avoid copying data needlessly. The original CL was reverted due to failures in the build cycles as shown on: https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtLzY3OGM3NGNmM2UxN2FhZWY5NTYyZWUxM2RmOGM4MDNlMWQwMTRmYzYM The failure was caused as uninitialized memory was being read. This reland CL zeroes out all channels of incoming audio bus if the deque is empty. BUG=None Review-Url: https://codereview.chromium.org/2881713002 Cr-Commit-Position: refs/heads/master@{#472836} Committed: https://chromium.googlesource.com/chromium/src/+/8e3f09678fd2199649fdfde1bb9cc0ec55240309

Patch Set 1 #

Total comments: 2

Patch Set 2 : Zero out all channels of audio_bus #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -13 lines) Patch
M content/renderer/media_recorder/audio_track_recorder.cc View 1 9 chunks +27 lines, -13 lines 0 comments Download

Messages

Total messages: 37 (23 generated)
Chandan
3 years, 7 months ago (2017-05-12 13:28:32 UTC) #10
miu
https://codereview.chromium.org/2881713002/diff/1/content/renderer/media_recorder/audio_track_recorder.cc File content/renderer/media_recorder/audio_track_recorder.cc (right): https://codereview.chromium.org/2881713002/diff/1/content/renderer/media_recorder/audio_track_recorder.cc#newcode279 content/renderer/media_recorder/audio_track_recorder.cc:279: return 0.0; Ref: https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtLzY3OGM3NGNmM2UxN2FhZWY5NTYyZWUxM2RmOGM4MDNlMWQwMTRmYzYM So, it looks like the ...
3 years, 7 months ago (2017-05-12 23:55:21 UTC) #11
Chandan
PTAL @PS2. Thank you. https://codereview.chromium.org/2881713002/diff/1/content/renderer/media_recorder/audio_track_recorder.cc File content/renderer/media_recorder/audio_track_recorder.cc (right): https://codereview.chromium.org/2881713002/diff/1/content/renderer/media_recorder/audio_track_recorder.cc#newcode279 content/renderer/media_recorder/audio_track_recorder.cc:279: return 0.0; On 2017/05/12 23:55:21, ...
3 years, 7 months ago (2017-05-15 13:27:56 UTC) #17
miu
lgtm
3 years, 7 months ago (2017-05-18 02:54:07 UTC) #19
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/2881713002/20001
3 years, 7 months ago (2017-05-18 02:56:08 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/440652)
3 years, 7 months ago (2017-05-18 03:12:56 UTC) #22
Chandan
@mcasas, RS please. Thanks.
3 years, 7 months ago (2017-05-18 11:58:14 UTC) #23
mcasas
On 2017/05/18 11:58:14, Chandan wrote: > @mcasas, RS please. Thanks. RS lgtm
3 years, 7 months ago (2017-05-18 16:08:26 UTC) #28
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/2881713002/20001
3 years, 7 months ago (2017-05-18 16:16:08 UTC) #30
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/8e3f09678fd2199649fdfde1bb9cc0ec55240309
3 years, 7 months ago (2017-05-18 16:23:15 UTC) #33
jbroman
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2888043007/ by jbroman@chromium.org. ...
3 years, 7 months ago (2017-05-18 19:41:04 UTC) #34
jbroman
On 2017/05/18 at 19:41:04, jbroman wrote: > A revert of this CL (patchset #2 id:20001) ...
3 years, 7 months ago (2017-05-18 19:41:17 UTC) #35
jbroman
On 2017/05/18 at 19:41:17, jbroman wrote: > On 2017/05/18 at 19:41:04, jbroman wrote: > > ...
3 years, 7 months ago (2017-05-18 20:41:37 UTC) #36
findit-for-me
3 years, 7 months ago (2017-05-18 22:56:54 UTC) #37
Message was sent while issue was closed.
Findit (https://goo.gl/kROfz5) identified this CL at revision 472836 as the
culprit for
failures in the build cycles as shown on:
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb...

Powered by Google App Engine
This is Rietveld 408576698