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

Issue 1810413002: Avoid clicks when muting/unmuting a voe::Channel. (Closed)

Created:
4 years, 9 months ago by the sun
Modified:
4 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, henrika_webrtc, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, minyue-webrtc, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Avoid clicks when muting/unmuting a voe::Channel. Muting/unmuting is triggered in the PeerConnection API by calling setEnable() on an audio track. BUG=webrtc:5671 Committed: https://crrev.com/1c2af8e3191e69aad6e233a6b2402579dcdbb740 Cr-Commit-Position: refs/heads/master@{#12121}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 66

Patch Set 3 : address comments #

Patch Set 4 : Addressed comments #

Patch Set 5 : removed commented out code #

Total comments: 2

Patch Set 6 : addressed comments #

Patch Set 7 : undo loop unrolling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -33 lines) Patch
M webrtc/modules/include/module_common_types.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/modules/utility/include/audio_frame_operations.h View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download
M webrtc/modules/utility/source/audio_frame_operations.cc View 1 2 3 4 5 6 2 chunks +55 lines, -3 lines 0 comments Download
M webrtc/modules/utility/source/audio_frame_operations_unittest.cc View 1 2 4 chunks +149 lines, -4 lines 0 comments Download
M webrtc/voice_engine/channel.h View 1 2 3 2 chunks +7 lines, -6 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 4 chunks +10 lines, -10 lines 0 comments Download
M webrtc/voice_engine/transmit_mixer.cc View 1 chunk +1 line, -4 lines 0 comments Download
M webrtc/voice_engine/voe_volume_control_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
the sun
4 years, 9 months ago (2016-03-23 09:54:03 UTC) #2
tlegrand-webrtc
On 2016/03/23 09:54:03, the sun wrote: Really nice change! Most of my remarks are regarding ...
4 years, 9 months ago (2016-03-23 13:42:31 UTC) #3
tlegrand-webrtc
https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/include/audio_frame_operations.h File webrtc/modules/utility/include/audio_frame_operations.h (right): https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/include/audio_frame_operations.h#newcode48 webrtc/modules/utility/include/audio_frame_operations.h:48: // Zeros out the audio and sets |frame.energy| to ...
4 years, 9 months ago (2016-03-23 13:42:41 UTC) #4
the sun
https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/include/audio_frame_operations.h File webrtc/modules/utility/include/audio_frame_operations.h (right): https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/include/audio_frame_operations.h#newcode48 webrtc/modules/utility/include/audio_frame_operations.h:48: // Zeros out the audio and sets |frame.energy| to ...
4 years, 9 months ago (2016-03-23 14:25:59 UTC) #5
peah-webrtc
https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/include/audio_frame_operations.h File webrtc/modules/utility/include/audio_frame_operations.h (right): https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/include/audio_frame_operations.h#newcode49 webrtc/modules/utility/include/audio_frame_operations.h:49: static void Mute(AudioFrame* frame, bool start_muted, bool end_muted); Please ...
4 years, 9 months ago (2016-03-23 15:57:04 UTC) #6
the sun
https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/include/audio_frame_operations.h File webrtc/modules/utility/include/audio_frame_operations.h (right): https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/include/audio_frame_operations.h#newcode49 webrtc/modules/utility/include/audio_frame_operations.h:49: static void Mute(AudioFrame* frame, bool start_muted, bool end_muted); On ...
4 years, 9 months ago (2016-03-23 21:30:53 UTC) #7
peah-webrtc
https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/source/audio_frame_operations.cc File webrtc/modules/utility/source/audio_frame_operations.cc (right): https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/source/audio_frame_operations.cc#newcode79 webrtc/modules/utility/source/audio_frame_operations.cc:79: void AudioFrameOperations::Mute(AudioFrame* frame, bool start_muted, On 2016/03/23 21:30:52, the ...
4 years, 9 months ago (2016-03-24 07:04:55 UTC) #8
the sun
https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/source/audio_frame_operations.cc File webrtc/modules/utility/source/audio_frame_operations.cc (right): https://codereview.webrtc.org/1810413002/diff/20001/webrtc/modules/utility/source/audio_frame_operations.cc#newcode92 webrtc/modules/utility/source/audio_frame_operations.cc:92: if (frame->samples_per_channel_ < kMuteFadeFrames) { On 2016/03/24 07:04:54, peah-webrtc ...
4 years, 9 months ago (2016-03-24 09:33:16 UTC) #9
peah-webrtc
Nice CL! This will definitely achieve a quality increase with a measurable MOS gain. lgtm ...
4 years, 9 months ago (2016-03-24 10:11:09 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1810413002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1810413002/120001
4 years, 9 months ago (2016-03-24 12:22:46 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
4 years, 9 months ago (2016-03-24 14:23:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1810413002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1810413002/120001
4 years, 9 months ago (2016-03-24 14:43:38 UTC) #17
commit-bot: I haz the power
Exceeded global retry quota
4 years, 9 months ago (2016-03-24 16:44:03 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1810413002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1810413002/120001
4 years, 9 months ago (2016-03-24 17:34:25 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-24 17:36:08 UTC) #22
commit-bot: I haz the power
4 years, 9 months ago (2016-03-24 17:36:13 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/1c2af8e3191e69aad6e233a6b2402579dcdbb740
Cr-Commit-Position: refs/heads/master@{#12121}

Powered by Google App Engine
This is Rietveld 408576698