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

Issue 2396803004: Moved MixerAudioSource and removed audio_mixer_defines.h. (Closed)

Created:
4 years, 2 months ago by aleloi
Modified:
4 years, 2 months ago
Reviewers:
the sun, hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, henrika_webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, peah-webrtc, minyue-webrtc, the sun
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Moved MixerAudioSource and removed audio_mixer_defines.h. MixerAudioSource is moved to AudioMixerImpl::Source. Structures and methods of the MixerAudioSource interface have been renamed. The RemixFrame method has added checks and is moved to audio_frame_manipulator.h BUG=webrtc:6346 Committed: https://crrev.com/e89141500a7375f7eba7814dd88b690bf4135223 Cr-Commit-Position: refs/heads/master@{#14600}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Simplified CL to only contain the MixerAudioSource and RemixFrame change. #

Total comments: 11

Patch Set 3 : Renamed AudioFrameWithMuted to AudioFrameWithInfo and changed RemixFrame argument order. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -140 lines) Patch
M webrtc/modules/audio_mixer/BUILD.gn View 2 chunks +0 lines, -2 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_frame_manipulator.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_frame_manipulator.cc View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer.h View 1 2 3 chunks +36 lines, -7 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer.gypi View 1 chunk +0 lines, -1 line 0 comments Download
D webrtc/modules/audio_mixer/audio_mixer_defines.h View 1 chunk +0 lines, -51 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer_impl.h View 1 3 chunks +7 lines, -10 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer_impl.cc View 1 2 12 chunks +17 lines, -28 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_source_with_mix_status.h View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_source_with_mix_status.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc View 1 2 19 chunks +31 lines, -35 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (14 generated)
aleloi
This CL moves the content of audio_mixer_defines.h into audio_mixer.h. It also changes the ramping functionality, ...
4 years, 2 months ago (2016-10-07 12:59:21 UTC) #8
hlundin-webrtc
Drive-by comments. I just had a look at the first files, then I realized that ...
4 years, 2 months ago (2016-10-07 13:18:36 UTC) #10
aleloi
I divided this CL into two. This one contains the move of MixerAudioSource to AudioMixer::Source. ...
4 years, 2 months ago (2016-10-07 14:07:56 UTC) #11
aleloi
Thanks for the comments! https://codereview.webrtc.org/2396803004/diff/120001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc File webrtc/modules/audio_mixer/audio_frame_manipulator.cc (right): https://codereview.webrtc.org/2396803004/diff/120001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc#newcode30 webrtc/modules/audio_mixer/audio_frame_manipulator.cc:30: int samples = static_cast<int>(audio_frame->samples_per_channel_ * ...
4 years, 2 months ago (2016-10-07 14:23:23 UTC) #13
the sun
lgtm
4 years, 2 months ago (2016-10-11 09:47:07 UTC) #14
hlundin-webrtc
First a comment on the commit message: it is a bit thin. You did write ...
4 years, 2 months ago (2016-10-11 10:57:46 UTC) #15
hlundin-webrtc
Some comments and questions. https://codereview.webrtc.org/2396803004/diff/160001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc File webrtc/modules/audio_mixer/audio_frame_manipulator.cc (right): https://codereview.webrtc.org/2396803004/diff/160001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc#newcode65 webrtc/modules/audio_mixer/audio_frame_manipulator.cc:65: void RemixFrame(AudioFrame* frame, size_t target_number_of_channels) ...
4 years, 2 months ago (2016-10-11 11:11:49 UTC) #16
hlundin-webrtc
On 2016/10/11 11:11:49, hlundin-webrtc wrote: > Some comments and questions. > > https://codereview.webrtc.org/2396803004/diff/160001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc > File ...
4 years, 2 months ago (2016-10-11 11:12:42 UTC) #17
aleloi
https://codereview.webrtc.org/2396803004/diff/160001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc File webrtc/modules/audio_mixer/audio_frame_manipulator.cc (right): https://codereview.webrtc.org/2396803004/diff/160001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc#newcode65 webrtc/modules/audio_mixer/audio_frame_manipulator.cc:65: void RemixFrame(AudioFrame* frame, size_t target_number_of_channels) { On 2016/10/11 11:11:49, ...
4 years, 2 months ago (2016-10-11 11:48:57 UTC) #19
hlundin-webrtc
lgtm https://codereview.webrtc.org/2396803004/diff/160001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc File webrtc/modules/audio_mixer/audio_frame_manipulator.cc (right): https://codereview.webrtc.org/2396803004/diff/160001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc#newcode66 webrtc/modules/audio_mixer/audio_frame_manipulator.cc:66: RTC_DCHECK_GE(target_number_of_channels, static_cast<size_t>(1)); On 2016/10/11 11:48:57, aleloi wrote: > ...
4 years, 2 months ago (2016-10-11 11:54:11 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/2396803004/180001
4 years, 2 months ago (2016-10-11 12:39:08 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:180001)
4 years, 2 months ago (2016-10-11 13:18:34 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 13:18:43 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e89141500a7375f7eba7814dd88b690bf4135223
Cr-Commit-Position: refs/heads/master@{#14600}

Powered by Google App Engine
This is Rietveld 408576698