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

Issue 2396483002: Made MixerAudioSource a pure interface. (Closed)

Created:
4 years, 2 months ago by aleloi
Modified:
4 years, 2 months ago
Reviewers:
the sun, ivoc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Made MixerAudioSource a pure interface. This required quite a few small changes in the mixing algorithm structure, the mixer interface and the mixer unit tests. BUG=webrtc:6346 Committed: https://crrev.com/2ae5fdff86b784545cbd724de54bb5ffedde1adf Cr-Commit-Position: refs/heads/master@{#14567}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Comments describing new AudioMixerImpl methods. #

Patch Set 3 : Rebase. #

Total comments: 41

Patch Set 4 : Small changes in response to reviewer comments. #

Total comments: 18

Patch Set 5 : Changes in response to reviewer comments. #

Patch Set 6 : rebase. #

Total comments: 6

Patch Set 7 : Removing dependency patch set. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -164 lines) Patch
M webrtc/modules/audio_mixer/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/audio_mixer/audio_frame_manipulator.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_mixer/audio_frame_manipulator.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer.gypi View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer_defines.h View 1 2 3 4 2 chunks +2 lines, -19 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer_defines.cc View 1 2 3 1 chunk +0 lines, -38 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer_impl.h View 1 2 3 4 5 6 4 chunks +10 lines, -9 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer_impl.cc View 1 2 3 4 16 chunks +90 lines, -75 lines 0 comments Download
A webrtc/modules/audio_mixer/audio_source_with_mix_status.h View 1 2 3 4 5 6 1 chunk +45 lines, -0 lines 0 comments Download
A + webrtc/modules/audio_mixer/audio_source_with_mix_status.cc View 1 2 3 1 chunk +13 lines, -8 lines 0 comments Download
M webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc View 1 2 3 8 chunks +13 lines, -10 lines 0 comments Download

Messages

Total messages: 42 (18 generated)
aleloi
https://codereview.webrtc.org/2396483002/diff/1/webrtc/modules/audio_mixer/BUILD.gn File webrtc/modules/audio_mixer/BUILD.gn (right): https://codereview.webrtc.org/2396483002/diff/1/webrtc/modules/audio_mixer/BUILD.gn#newcode37 webrtc/modules/audio_mixer/BUILD.gn:37: "../../base:gtest_prod", To make the tests friends with AudioMixerImpl::Create so ...
4 years, 2 months ago (2016-10-04 13:37:17 UTC) #2
aleloi
4 years, 2 months ago (2016-10-04 13:37:18 UTC) #3
the sun
On 2016/10/04 13:37:18, aleloi wrote: FYI: remember to prefix the bug # with "webrtc:", otherwise ...
4 years, 2 months ago (2016-10-04 19:35:51 UTC) #5
the sun
https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_mixer_defines.h File webrtc/modules/audio_mixer/audio_mixer_defines.h (right): https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_mixer_defines.h#newcode49 webrtc/modules/audio_mixer/audio_mixer_defines.h:49: virtual ~MixerAudioSource(); - Remove ctor. - Make the dtor ...
4 years, 2 months ago (2016-10-04 20:36:10 UTC) #6
ivoc
https://codereview.webrtc.org/2396483002/diff/1/webrtc/modules/audio_mixer/audio_mixer_impl.h File webrtc/modules/audio_mixer/audio_mixer_impl.h (right): https://codereview.webrtc.org/2396483002/diff/1/webrtc/modules/audio_mixer/audio_mixer_impl.h#newcode40 webrtc/modules/audio_mixer/audio_mixer_impl.h:40: static std::unique_ptr<AudioMixerImpl> Create(int id); On 2016/10/04 13:37:16, aleloi wrote: ...
4 years, 2 months ago (2016-10-04 20:39:30 UTC) #7
the sun
https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_source_with_mix_status.h File webrtc/modules/audio_mixer/audio_source_with_mix_status.h (right): https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_source_with_mix_status.h#newcode19 webrtc/modules/audio_mixer/audio_source_with_mix_status.h:19: class AudioSourceWithMixStatus { I'm thinking about this was_mixed and ...
4 years, 2 months ago (2016-10-04 20:57:41 UTC) #8
aleloi
https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_mixer_defines.h File webrtc/modules/audio_mixer/audio_mixer_defines.h (right): https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_mixer_defines.h#newcode49 webrtc/modules/audio_mixer/audio_mixer_defines.h:49: virtual ~MixerAudioSource(); On 2016/10/04 20:36:09, the sun wrote: > ...
4 years, 2 months ago (2016-10-05 15:18:20 UTC) #10
ivoc
https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_source_with_mix_status.h File webrtc/modules/audio_mixer/audio_source_with_mix_status.h (right): https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_source_with_mix_status.h#newcode19 webrtc/modules/audio_mixer/audio_source_with_mix_status.h:19: class AudioSourceWithMixStatus { On 2016/10/05 15:18:19, aleloi wrote: > ...
4 years, 2 months ago (2016-10-05 18:47:13 UTC) #13
the sun
https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_mixer_defines.h File webrtc/modules/audio_mixer/audio_mixer_defines.h (right): https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_mixer_defines.h#newcode49 webrtc/modules/audio_mixer/audio_mixer_defines.h:49: virtual ~MixerAudioSource(); On 2016/10/05 15:18:18, aleloi wrote: > On ...
4 years, 2 months ago (2016-10-05 19:32:11 UTC) #14
the sun
Was there a rebase mistake? It seems all of a sudden a lot of new ...
4 years, 2 months ago (2016-10-05 19:40:33 UTC) #15
aleloi
Hi! Yesterday, I put the new gain functionality and moved MixerAudioSource to AudioMixer::Source in this ...
4 years, 2 months ago (2016-10-06 09:26:12 UTC) #20
the sun
Thanks, that is much better! :) https://codereview.webrtc.org/2396483002/diff/190001/webrtc/modules/audio_mixer/BUILD.gn File webrtc/modules/audio_mixer/BUILD.gn (right): https://codereview.webrtc.org/2396483002/diff/190001/webrtc/modules/audio_mixer/BUILD.gn#newcode36 webrtc/modules/audio_mixer/BUILD.gn:36: "../../base:gtest_prod", not needed? ...
4 years, 2 months ago (2016-10-06 09:50:31 UTC) #21
aleloi
https://codereview.webrtc.org/2396483002/diff/190001/webrtc/modules/audio_mixer/audio_mixer_impl.cc File webrtc/modules/audio_mixer/audio_mixer_impl.cc (right): https://codereview.webrtc.org/2396483002/diff/190001/webrtc/modules/audio_mixer/audio_mixer_impl.cc#newcode17 webrtc/modules/audio_mixer/audio_mixer_impl.cc:17: #include "webrtc/base/logging.h" On 2016/10/06 09:50:31, the sun wrote: > ...
4 years, 2 months ago (2016-10-06 12:15:57 UTC) #22
aleloi
https://codereview.webrtc.org/2396483002/diff/190001/webrtc/modules/audio_mixer/BUILD.gn File webrtc/modules/audio_mixer/BUILD.gn (right): https://codereview.webrtc.org/2396483002/diff/190001/webrtc/modules/audio_mixer/BUILD.gn#newcode36 webrtc/modules/audio_mixer/BUILD.gn:36: "../../base:gtest_prod", On 2016/10/06 09:50:31, the sun wrote: > not ...
4 years, 2 months ago (2016-10-06 12:17:12 UTC) #23
the sun
lgtm % comments https://codereview.webrtc.org/2396483002/diff/250001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc File webrtc/modules/audio_mixer/audio_frame_manipulator.cc (right): https://codereview.webrtc.org/2396483002/diff/250001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc#newcode37 webrtc/modules/audio_mixer/audio_frame_manipulator.cc:37: // TODO(andrew): this can easily overflow. ...
4 years, 2 months ago (2016-10-06 18:23:17 UTC) #25
ivoc
https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_source_with_mix_status.cc File webrtc/modules/audio_mixer/audio_source_with_mix_status.cc (right): https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_source_with_mix_status.cc#newcode28 webrtc/modules/audio_mixer/audio_source_with_mix_status.cc:28: return IsMixed(); On 2016/10/05 15:18:19, aleloi wrote: > On ...
4 years, 2 months ago (2016-10-06 20:11:00 UTC) #26
aleloi
On 2016/10/06 20:11:00, ivoc wrote: > https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_source_with_mix_status.cc > File webrtc/modules/audio_mixer/audio_source_with_mix_status.cc (right): > > https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_source_with_mix_status.cc#newcode28 > ...
4 years, 2 months ago (2016-10-07 09:23:11 UTC) #29
aleloi
https://codereview.webrtc.org/2396483002/diff/250001/webrtc/modules/audio_mixer/audio_mixer_impl.cc File webrtc/modules/audio_mixer/audio_mixer_impl.cc (right): https://codereview.webrtc.org/2396483002/diff/250001/webrtc/modules/audio_mixer/audio_mixer_impl.cc#newcode142 webrtc/modules/audio_mixer/audio_mixer_impl.cc:142: MixerAudioSourceList::iterator FindSourceInList( On 2016/10/06 18:23:17, the sun wrote: > ...
4 years, 2 months ago (2016-10-07 09:23:28 UTC) #30
ivoc
On 2016/10/07 09:23:11, aleloi wrote: > On 2016/10/06 20:11:00, ivoc wrote: > > > https://codereview.webrtc.org/2396483002/diff/40001/webrtc/modules/audio_mixer/audio_source_with_mix_status.cc ...
4 years, 2 months ago (2016-10-07 09:25:46 UTC) #32
the sun
lgtm https://codereview.webrtc.org/2396483002/diff/250001/webrtc/modules/audio_mixer/audio_mixer_impl.cc File webrtc/modules/audio_mixer/audio_mixer_impl.cc (right): https://codereview.webrtc.org/2396483002/diff/250001/webrtc/modules/audio_mixer/audio_mixer_impl.cc#newcode142 webrtc/modules/audio_mixer/audio_mixer_impl.cc:142: MixerAudioSourceList::iterator FindSourceInList( On 2016/10/07 09:23:28, aleloi wrote: > ...
4 years, 2 months ago (2016-10-07 10:44:23 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2396483002/350001
4 years, 2 months ago (2016-10-07 10:51:15 UTC) #37
commit-bot: I haz the power
Committed patchset #7 (id:350001)
4 years, 2 months ago (2016-10-07 11:30:16 UTC) #39
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/2ae5fdff86b784545cbd724de54bb5ffedde1adf Cr-Commit-Position: refs/heads/master@{#14567}
4 years, 2 months ago (2016-10-07 11:30:25 UTC) #41
aleloi
4 years, 2 months ago (2016-10-07 12:04:41 UTC) #42
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:350001) has been created in
https://codereview.webrtc.org/2394253003/ by aleloi@webrtc.org.

The reason for reverting is: breaks chromium FYI.

Powered by Google App Engine
This is Rietveld 408576698