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

Issue 2398083005: Changed ramping functionality of the AudioMixer. (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, tterriberry_mozilla.com, hlundin-webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Changed ramping functionality of the AudioMixer. BUG=webrtc:6346 Committed: https://crrev.com/4b8bfb8ed3845ce214f5c586e521a442eb771e56 Cr-Commit-Position: refs/heads/master@{#14607}

Patch Set 1 : . #

Total comments: 12

Patch Set 2 : class -> struct and name changes + avoid division in ramp loop. #

Total comments: 10

Patch Set 3 : Added tests for Ramp and changed arg order in Ramp. #

Total comments: 24

Patch Set 4 : Moved audio_frame_manipulator_unittest, made style changes to the tests. #

Patch Set 5 : Gmock -> gtest, nth -> ith #

Total comments: 4

Patch Set 6 : Changed argument names and comment in Ramp. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -109 lines) Patch
M webrtc/modules/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_frame_manipulator.h View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_frame_manipulator.cc View 1 2 3 4 5 2 chunks +17 lines, -35 lines 0 comments Download
A webrtc/modules/audio_mixer/audio_frame_manipulator_unittest.cc View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer_impl.h View 1 2 4 chunks +14 lines, -6 lines 0 comments Download
M webrtc/modules/audio_mixer/audio_mixer_impl.cc View 1 2 3 4 8 chunks +62 lines, -65 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 24 (9 generated)
aleloi
Here is the second part of the ramping and AudioMixerSource CL. This one contains the ...
4 years, 2 months ago (2016-10-07 14:25:01 UTC) #5
hlundin-webrtc
https://codereview.webrtc.org/2398083005/diff/60001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc File webrtc/modules/audio_mixer/audio_frame_manipulator.cc (right): https://codereview.webrtc.org/2398083005/diff/60001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc#newcode37 webrtc/modules/audio_mixer/audio_frame_manipulator.cc:37: for (size_t i = 0; i < samples; i++) ...
4 years, 2 months ago (2016-10-07 15:03:10 UTC) #6
aleloi
https://codereview.webrtc.org/2398083005/diff/60001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc File webrtc/modules/audio_mixer/audio_frame_manipulator.cc (right): https://codereview.webrtc.org/2398083005/diff/60001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc#newcode37 webrtc/modules/audio_mixer/audio_frame_manipulator.cc:37: for (size_t i = 0; i < samples; i++) ...
4 years, 2 months ago (2016-10-10 10:58:17 UTC) #7
the sun
LG but I'd like to see it rebased on your other interface cleanup CLs before ...
4 years, 2 months ago (2016-10-10 20:24:33 UTC) #8
aleloi
https://codereview.webrtc.org/2398083005/diff/80001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc File webrtc/modules/audio_mixer/audio_frame_manipulator.cc (right): https://codereview.webrtc.org/2398083005/diff/80001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc#newcode29 webrtc/modules/audio_mixer/audio_frame_manipulator.cc:29: void Ramp(AudioFrame* audio_frame, float current, float target) { On ...
4 years, 2 months ago (2016-10-11 10:24:08 UTC) #10
the sun
https://codereview.webrtc.org/2398083005/diff/120001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc File webrtc/modules/audio_mixer/audio_frame_manipulator.cc (right): https://codereview.webrtc.org/2398083005/diff/120001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc#newcode35 webrtc/modules/audio_mixer/audio_frame_manipulator.cc:35: RTC_DCHECK_LT(static_cast<size_t>(0), samples); you could just write "0u" to make ...
4 years, 2 months ago (2016-10-11 10:57:06 UTC) #11
aleloi
Next verison. I've moveed test/audio_mixer_unittests.cc to audio_mixer_impl_unittests.cc in the last dependent CL ( https://codereview.webrtc.org/2408683002 ) ...
4 years, 2 months ago (2016-10-11 11:27:26 UTC) #12
hlundin-webrtc
LG with minor comments. https://codereview.webrtc.org/2398083005/diff/120001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc File webrtc/modules/audio_mixer/audio_frame_manipulator.cc (right): https://codereview.webrtc.org/2398083005/diff/120001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc#newcode40 webrtc/modules/audio_mixer/audio_frame_manipulator.cc:40: // apply the same gain ...
4 years, 2 months ago (2016-10-11 11:29:58 UTC) #13
aleloi
Next patch set with minimal changes. https://codereview.webrtc.org/2398083005/diff/120001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc File webrtc/modules/audio_mixer/audio_frame_manipulator.cc (right): https://codereview.webrtc.org/2398083005/diff/120001/webrtc/modules/audio_mixer/audio_frame_manipulator.cc#newcode40 webrtc/modules/audio_mixer/audio_frame_manipulator.cc:40: // apply the ...
4 years, 2 months ago (2016-10-11 12:43:14 UTC) #15
hlundin-webrtc
lgtm
4 years, 2 months ago (2016-10-11 12:52:42 UTC) #16
the sun
lgtm % nits https://codereview.webrtc.org/2398083005/diff/180001/webrtc/modules/audio_mixer/audio_frame_manipulator.h File webrtc/modules/audio_mixer/audio_frame_manipulator.h (right): https://codereview.webrtc.org/2398083005/diff/180001/webrtc/modules/audio_mixer/audio_frame_manipulator.h#newcode22 webrtc/modules/audio_mixer/audio_frame_manipulator.h:22: // Ramps up or down the ...
4 years, 2 months ago (2016-10-11 18:04:14 UTC) #17
aleloi
https://codereview.webrtc.org/2398083005/diff/180001/webrtc/modules/audio_mixer/audio_frame_manipulator.h File webrtc/modules/audio_mixer/audio_frame_manipulator.h (right): https://codereview.webrtc.org/2398083005/diff/180001/webrtc/modules/audio_mixer/audio_frame_manipulator.h#newcode22 webrtc/modules/audio_mixer/audio_frame_manipulator.h:22: // Ramps up or down the provided audio frame. ...
4 years, 2 months ago (2016-10-12 08:43:10 UTC) #18
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/2398083005/200001
4 years, 2 months ago (2016-10-12 08:43:18 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:200001)
4 years, 2 months ago (2016-10-12 09:15:02 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 09:15:20 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4b8bfb8ed3845ce214f5c586e521a442eb771e56
Cr-Commit-Position: refs/heads/master@{#14607}

Powered by Google App Engine
This is Rietveld 408576698