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

Issue 2854363002: 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

Replace AudioFifo with a deque of AudioBus in ATR::AudioEncoder This CL uses a std::deque<std::unique_ptr<media::AudioBus>> instead of an AudioFifo, to avoid copying data needlessly. BUG=None Review-Url: https://codereview.chromium.org/2854363002 Cr-Commit-Position: refs/heads/master@{#471039} Committed: https://chromium.googlesource.com/chromium/src/+/678c74cf3e17aaef9562ee13df8c803e1d014fc6

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed review comments #

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

Messages

Total messages: 38 (21 generated)
Chandan
mcasas@, I have made an attempt to remove AudioFifo from AudioTrackRecorder::AudioEncoder. Please let me know ...
3 years, 7 months ago (2017-05-03 11:36:44 UTC) #2
Chandan
On 2017/05/03 11:36:44, Chandan wrote: > mcasas@, I have made an attempt to remove AudioFifo ...
3 years, 7 months ago (2017-05-08 15:36:14 UTC) #7
mcasas
overall it doesn't look bad and the tests are passing, which is a very good ...
3 years, 7 months ago (2017-05-09 17:32:34 UTC) #9
miu
https://codereview.chromium.org/2854363002/diff/1/content/renderer/media_recorder/audio_track_recorder.cc File content/renderer/media_recorder/audio_track_recorder.cc (left): https://codereview.chromium.org/2854363002/diff/1/content/renderer/media_recorder/audio_track_recorder.cc#oldcode48 content/renderer/media_recorder/audio_track_recorder.cc:48: kMaxNumberOfFifoBuffers = 2, Keep this. (See comment below.) https://codereview.chromium.org/2854363002/diff/1/content/renderer/media_recorder/audio_track_recorder.cc ...
3 years, 7 months ago (2017-05-09 19:53:19 UTC) #10
Chandan
miu@, thanks for the review. PTAL. https://codereview.chromium.org/2854363002/diff/1/content/renderer/media_recorder/audio_track_recorder.cc File content/renderer/media_recorder/audio_track_recorder.cc (left): https://codereview.chromium.org/2854363002/diff/1/content/renderer/media_recorder/audio_track_recorder.cc#oldcode48 content/renderer/media_recorder/audio_track_recorder.cc:48: kMaxNumberOfFifoBuffers = 2, ...
3 years, 7 months ago (2017-05-10 09:35:07 UTC) #17
miu
PS2 lgtm. Thanks! :)
3 years, 7 months ago (2017-05-10 20:47:03 UTC) #20
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/2854363002/20001
3 years, 7 months ago (2017-05-11 03:37:03 UTC) #22
Chandan
On 2017/05/11 03:37:03, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 7 months ago (2017-05-11 03:47:34 UTC) #23
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/433531)
3 years, 7 months ago (2017-05-11 03:50:15 UTC) #25
mcasas
On 2017/05/11 03:50:15, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 7 months ago (2017-05-11 16:17:40 UTC) #26
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/2854363002/20001
3 years, 7 months ago (2017-05-11 16:24:12 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/176060)
3 years, 7 months ago (2017-05-11 18:18:28 UTC) #30
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/2854363002/20001
3 years, 7 months ago (2017-05-11 18:37:26 UTC) #32
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/678c74cf3e17aaef9562ee13df8c803e1d014fc6
3 years, 7 months ago (2017-05-11 19:25:15 UTC) #35
apacible
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2873123005/ by apacible@chromium.org. ...
3 years, 7 months ago (2017-05-11 22:23:31 UTC) #36
findit-for-me
Findit (https://goo.gl/kROfz5) identified this CL at revision 471039 as the culprit for failures in the ...
3 years, 7 months ago (2017-05-12 01:19:34 UTC) #37
Chandan
3 years, 7 months ago (2017-05-12 13:27:50 UTC) #38
Message was sent while issue was closed.
On 2017/05/12 01:19:34, findit-for-me wrote:
> Findit (https://goo.gl/kROfz5) identified this CL at revision 471039 as the
> culprit for
> failures in the build cycles as shown on:
>
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb...

I am not able to relate the failures in the build cycles with this CL.
Try jobs had earlier succeeded for this CL.
I have created a reland CL(https://codereview.chromium.org/2881713002/) that
also has passed the dry run.
@mcasas, @miu: Your insights, please?

Powered by Google App Engine
This is Rietveld 408576698