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

Issue 2111293003: Removed callback between old AudioConferenceMixer and OutputMixer. The audio frame with mixed audio… (Closed)

Created:
4 years, 5 months ago by aleloi
Modified:
4 years, 4 months ago
Reviewers:
ivoc, tommi
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@new_mixer_format
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Removed callback in old AudioConferenceMixer. OutputMixer and AudioConferenceMixer communicated via a callback. OutputMixer implemented an AudioMixerOutputReceiver interface, which defines the callback function NewMixedAudio. This has been removed and replaced by a simple function in the new mixer. The audio frame with mixed audio is now copied one time less. I have also removed one forward declaration. Committed: https://crrev.com/09f45108c2eab3c6b94c10f28fdbababf52c25c3 Cr-Commit-Position: refs/heads/master@{#13550}

Patch Set 1 #

Patch Set 2 : Format and header guards from parent CL #

Patch Set 3 : Added the mixer to the BUILD.gn file for modules; added a test and removed the (hopefully) last par… #

Patch Set 4 : Forgot to add test file. #

Patch Set 5 : From upstream: renamed files, added gyp #

Patch Set 6 : Added a test with both mixers that compares the results with expected for one participant and two m… #

Patch Set 7 : Fixed style guide issues in unit test. #

Patch Set 8 : Forgot git cl format #

Patch Set 9 : Added variable name. #

Total comments: 24

Patch Set 10 : Removed asserts, decreased lock holding time & minor changes. #

Total comments: 4

Patch Set 11 : Minor things: specialized DCHECK macros, rearranged methods in header, etc. #

Total comments: 8

Patch Set 12 : Renamed 'Participant' into 'AudioSource' everywhere. #

Total comments: 2

Patch Set 13 : Renamed variables, removed DCHECK(false), changed back copyright years. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+508 lines, -324 lines) Patch
M webrtc/modules/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -0 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -10 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +7 lines, -25 lines 0 comments Download
M webrtc/modules/audio_mixer/include/audio_mixer_defines.h View 1 2 3 4 10 11 12 1 chunk +0 lines, -15 lines 0 comments Download
M webrtc/modules/audio_mixer/include/new_audio_conference_mixer.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +16 lines, -18 lines 0 comments Download
M webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +25 lines, -28 lines 0 comments Download
M webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 27 chunks +208 lines, -228 lines 0 comments Download
A webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +243 lines, -0 lines 0 comments Download
M webrtc/modules/modules.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 55 (33 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2111293003/40001
4 years, 5 months ago (2016-07-01 11:32:32 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/6633)
4 years, 5 months ago (2016-07-01 11:45:03 UTC) #7
aleloi
Here comes the first real mixer changes. PTAL! Two of the four tests are not ...
4 years, 5 months ago (2016-07-04 15:04:18 UTC) #11
tommi
https://codereview.webrtc.org/2111293003/diff/160001/webrtc/modules/audio_mixer/audio_mixer.cc File webrtc/modules/audio_mixer/audio_mixer.cc (right): https://codereview.webrtc.org/2111293003/diff/160001/webrtc/modules/audio_mixer/audio_mixer.cc#newcode163 webrtc/modules/audio_mixer/audio_mixer.cc:163: _mixerModule.Mix(&_audioFrame); On what thread is this method called? Since ...
4 years, 5 months ago (2016-07-06 19:42:18 UTC) #13
aleloi
Thank you for your comments, tommi@! I have implemented your suggestions and have tried to ...
4 years, 5 months ago (2016-07-07 09:20:16 UTC) #16
ivoc
https://codereview.webrtc.org/2111293003/diff/160001/webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.h File webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.h (right): https://codereview.webrtc.org/2111293003/diff/160001/webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.h#newcode75 webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.h:75: void Mix(AudioFrame*) override; Try to keep the order of ...
4 years, 5 months ago (2016-07-07 13:46:16 UTC) #17
aleloi
Thank you for your comments, ivoc@! I have answered them and uploaded a new patch ...
4 years, 5 months ago (2016-07-07 14:29:12 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2111293003/240001
4 years, 5 months ago (2016-07-07 15:38:29 UTC) #20
commit-bot: I haz the power
Dry run: CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in ...
4 years, 5 months ago (2016-07-07 15:38:32 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2111293003/260001
4 years, 5 months ago (2016-07-08 08:24:29 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/16500) linux_ubsan on ...
4 years, 5 months ago (2016-07-08 08:26:43 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2111293003/280001
4 years, 5 months ago (2016-07-08 08:35:11 UTC) #30
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_baremetal/builds/12591)
4 years, 5 months ago (2016-07-08 08:44:06 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2111293003/320001
4 years, 5 months ago (2016-07-08 09:15:22 UTC) #36
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-08 10:59:53 UTC) #38
tommi
https://codereview.webrtc.org/2111293003/diff/160001/webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc File webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc (right): https://codereview.webrtc.org/2111293003/diff/160001/webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc#newcode281 webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc:281: _timeStamp += static_cast<uint32_t>(_sampleSize); On 2016/07/07 09:20:16, aleloi wrote: > ...
4 years, 5 months ago (2016-07-08 12:24:18 UTC) #42
aleloi
I have responded to the comments and uploaded a new patch set. https://codereview.webrtc.org/2111293003/diff/320001/webrtc/modules/audio_mixer/audio_mixer.h File webrtc/modules/audio_mixer/audio_mixer.h ...
4 years, 5 months ago (2016-07-08 12:57:41 UTC) #43
tommi
lgtm. Thanks for all the extra fixes.
4 years, 5 months ago (2016-07-08 13:19:11 UTC) #46
ivoc
LGTM
4 years, 4 months ago (2016-07-28 09:20:15 UTC) #49
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/2111293003/380001
4 years, 4 months ago (2016-07-28 09:22:40 UTC) #51
commit-bot: I haz the power
Committed patchset #13 (id:380001)
4 years, 4 months ago (2016-07-28 10:52:23 UTC) #53
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 10:52:31 UTC) #55
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/09f45108c2eab3c6b94c10f28fdbababf52c25c3
Cr-Commit-Position: refs/heads/master@{#13550}

Powered by Google App Engine
This is Rietveld 408576698