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

Issue 2221443002: Changed mixing api and removed resampler (Closed)

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

Description

Changed mixing api and moved resampler. Removed resampler from NewAudioConferenceMixer and AudioMixer (which started as a copy of former OutputMixer). This is part of the mixer rewrite project. In particular, this is one of the steps required to have a single mixing component instead of two doing the same thing. The next planned change (which is not part of this CL) is to plug in the new mixer (NewAudioConferenceMixer) into AudioState and AudioDeviceModule. NOTRY=True Committed: https://crrev.com/4496809b28d8f10506b1b622a6cfd9d930c60617 Cr-Commit-Position: refs/heads/master@{#13674}

Patch Set 1 #

Total comments: 17

Patch Set 2 : Removed TODO. #

Total comments: 5

Patch Set 3 : Added public headers to BUILD.gn #

Total comments: 1

Patch Set 4 : Changed back Mix comment. #

Patch Set 5 : Removed minimal frequency from the mixer since it doesn't resample. #

Patch Set 6 : Should fix 'mixing_frequency' uninitialized error. #

Total comments: 6

Patch Set 7 : Described Mix args in comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -162 lines) Patch
M webrtc/modules/audio_mixer/BUILD.gn View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer.h View 2 chunks +0 lines, -4 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer.cc View 2 chunks +2 lines, -10 lines 0 comments Download
M webrtc/modules/audio_mixer/include/audio_mixer_defines.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/modules/audio_mixer/include/new_audio_conference_mixer.h View 1 2 3 4 5 6 1 chunk +5 lines, -7 lines 0 comments Download
M webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.h View 1 2 3 4 4 chunks +3 lines, -9 lines 0 comments Download
M webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc View 1 2 3 4 5 8 chunks +44 lines, -118 lines 0 comments Download
M webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc View 1 8 chunks +50 lines, -10 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
aleloi
A step towards merging the two audio mixers. The visible API will be mixer::Mix(rate, channels, ...
4 years, 4 months ago (2016-08-05 09:52:22 UTC) #4
aleloi
...and I noticed I'm more wordy than usual this time. It won't become a habit ...
4 years, 4 months ago (2016-08-05 09:53:29 UTC) #5
the sun
https://codereview.webrtc.org/2221443002/diff/1/webrtc/modules/audio_mixer/audio_mixer.h File webrtc/modules/audio_mixer/audio_mixer.h (left): https://codereview.webrtc.org/2221443002/diff/1/webrtc/modules/audio_mixer/audio_mixer.h#oldcode46 webrtc/modules/audio_mixer/audio_mixer.h:46: int RegisterExternalMediaProcessing(VoEMediaProcess& // NOLINT Do you plan to clean ...
4 years, 4 months ago (2016-08-05 12:26:01 UTC) #8
aleloi
https://codereview.webrtc.org/2221443002/diff/1/webrtc/modules/audio_mixer/audio_mixer.h File webrtc/modules/audio_mixer/audio_mixer.h (left): https://codereview.webrtc.org/2221443002/diff/1/webrtc/modules/audio_mixer/audio_mixer.h#oldcode46 webrtc/modules/audio_mixer/audio_mixer.h:46: int RegisterExternalMediaProcessing(VoEMediaProcess& // NOLINT On 2016/08/05 12:26:00, the sun ...
4 years, 4 months ago (2016-08-05 12:37:14 UTC) #9
aleloi2
Minyue, could you PTAL? Fredrik went back on vacation before we were finished. https://codereview.webrtc.org/2221443002/diff/1/webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc File ...
4 years, 4 months ago (2016-08-06 10:13:50 UTC) #11
aleloi2
https://codereview.webrtc.org/2221443002/diff/40001/webrtc/modules/audio_mixer/BUILD.gn File webrtc/modules/audio_mixer/BUILD.gn (right): https://codereview.webrtc.org/2221443002/diff/40001/webrtc/modules/audio_mixer/BUILD.gn#newcode58 webrtc/modules/audio_mixer/BUILD.gn:58: 'public' is a GN feature. Source files from targets ...
4 years, 4 months ago (2016-08-06 10:22:38 UTC) #12
minyue-webrtc
Nice! Please consider the nits I found. Also please put the CL title as the ...
4 years, 4 months ago (2016-08-08 15:05:44 UTC) #16
aleloi
Thanks! Eventually, removing NeededFrequency in channel is also planned. It mostly just returns the audio ...
4 years, 4 months ago (2016-08-08 15:14:36 UTC) #17
aleloi
> Also please put the CL title as the first sentence in the description (a ...
4 years, 4 months ago (2016-08-08 15:15:42 UTC) #18
minyue-webrtc
lgtm https://codereview.webrtc.org/2221443002/diff/100001/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/2221443002/diff/100001/webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc#newcode77 webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc:77: // TODO(andrew): consider not modifying |frame| here. On ...
4 years, 4 months ago (2016-08-08 15:19:01 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.webrtc.org/2221443002/120001
4 years, 4 months ago (2016-08-08 17:17:29 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-08 17:19:03 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-08-08 17:19:10 UTC) #30
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4496809b28d8f10506b1b622a6cfd9d930c60617
Cr-Commit-Position: refs/heads/master@{#13674}

Powered by Google App Engine
This is Rietveld 408576698