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

Issue 2253153004: Updated mixer unittests and fixed a related bug in the new mixer. (Closed)

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

Description

Updated mixer unittests and fixed a related bug in the new mixer. Changes to the mixer unittests: Removed the tests related to the former 'OutputMixer', as it's going to be removed. Removed incorrect comparison tests with the old mixer because doing identical mixing decisions with the old mixer proved unviable. When the new mixer went from kMaximumAmountOfMixedAudioSources in the last iteration to kMaximumAmountOfMixedAudioSources+1, it could hit an RTC_NOTREACHED(); Added fix to mixer and test AudioMixer.RampedOutSourcesShouldNotBeMarkedMixed that covers that case. NOTRY=True Committed: https://crrev.com/30be5d7cf43036fb3c1bc68a07d9c0dc28fec65a Cr-Commit-Position: refs/heads/master@{#13880}

Patch Set 1 : . #

Total comments: 7

Patch Set 2 : Forgot to remove VoE/AudioMixer include from unittests. #

Total comments: 19

Patch Set 3 : Changes in response to comments. #

Patch Set 4 : Rebase from upstream. #

Patch Set 5 : Rebase from upstream. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -308 lines) Patch
M webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.cc View 1 2 3 4 3 chunks +1 line, -12 lines 0 comments Download
M webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc View 1 2 3 10 chunks +175 lines, -296 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 19 (10 generated)
aleloi
Ivoc@, ptal! https://codereview.webrtc.org/2253153004/diff/40001/webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.cc File webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.cc (left): https://codereview.webrtc.org/2253153004/diff/40001/webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.cc#oldcode222 webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.cc:222: remainingAudioSourcesAllowedToMix -= mixList.size(); The changes above are ...
4 years, 4 months ago (2016-08-18 09:21:15 UTC) #4
aleloi
I'd like to merge this last change with the patch set above, but that would ...
4 years, 4 months ago (2016-08-18 10:56:51 UTC) #5
ivoc
Nice changes, see some comments/questions below. https://codereview.webrtc.org/2253153004/diff/60001/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc File webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc (right): https://codereview.webrtc.org/2253153004/diff/60001/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc#newcode43 webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc:43: AudioFrame frame_for_mixing; Is ...
4 years, 4 months ago (2016-08-18 14:35:27 UTC) #6
aleloi
New patch set with responses to comments. https://codereview.webrtc.org/2253153004/diff/60001/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc File webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc (right): https://codereview.webrtc.org/2253153004/diff/60001/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc#newcode43 webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc:43: AudioFrame frame_for_mixing; ...
4 years, 4 months ago (2016-08-19 11:36:22 UTC) #7
ivoc
LGTM. https://codereview.webrtc.org/2253153004/diff/60001/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc File webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc (right): https://codereview.webrtc.org/2253153004/diff/60001/webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc#newcode43 webrtc/modules/audio_mixer/test/audio_mixer_unittest.cc:43: AudioFrame frame_for_mixing; On 2016/08/19 11:36:21, aleloi wrote: > ...
4 years, 4 months ago (2016-08-19 11:40:51 UTC) #8
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/2253153004/120001
4 years, 4 months ago (2016-08-24 08:24:53 UTC) #11
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/2253153004/120001
4 years, 4 months ago (2016-08-24 08:28:34 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 4 months ago (2016-08-24 08:38:46 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 08:38:57 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/30be5d7cf43036fb3c1bc68a07d9c0dc28fec65a
Cr-Commit-Position: refs/heads/master@{#13880}

Powered by Google App Engine
This is Rietveld 408576698