diff options
author | Yves Gerey <yvesg@webrtc.org> | 2018-06-19 15:03:05 +0200 |
---|---|---|
committer | Yves Gerey <yvesg@webrtc.org> | 2018-06-19 14:00:39 +0000 |
commit | 665174fdbb4e0540eccb27cf7412348f1b65534c (patch) | |
tree | 34a9eb770e6de54c282f62ad0b65d2cd69c917f6 /modules/audio_mixer/audio_mixer_impl_unittest.cc | |
parent | b602123a5aae1a9f0b6b581e611acf44eb525c08 (diff) | |
download | webrtc-665174fdbb4e0540eccb27cf7412348f1b65534c.tar.gz |
Reformat the WebRTC code base
Running clang-format with chromium's style guide.
The goal is n-fold:
* providing consistency and readability (that's what code guidelines are for)
* preventing noise with presubmit checks and git cl format
* building on the previous point: making it easier to automatically fix format issues
* you name it
Please consider using git-hyper-blame to ignore this commit.
Bug: webrtc:9340
Change-Id: I694567c4cdf8cee2860958cfe82bfaf25848bb87
Reviewed-on: https://webrtc-review.googlesource.com/81185
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23660}
Diffstat (limited to 'modules/audio_mixer/audio_mixer_impl_unittest.cc')
-rw-r--r-- | modules/audio_mixer/audio_mixer_impl_unittest.cc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/modules/audio_mixer/audio_mixer_impl_unittest.cc b/modules/audio_mixer/audio_mixer_impl_unittest.cc index b9e1e73b3f..57e4526c92 100644 --- a/modules/audio_mixer/audio_mixer_impl_unittest.cc +++ b/modules/audio_mixer/audio_mixer_impl_unittest.cc @@ -188,11 +188,11 @@ TEST(AudioMixer, LargestEnergyVadActiveMixed) { if (i == kAudioSources - 1 || i < kAudioSources - 1 - AudioMixerImpl::kMaximumAmountOfMixedAudioSources) { - EXPECT_FALSE(is_mixed) << "Mixing status of AudioSource #" << i - << " wrong."; + EXPECT_FALSE(is_mixed) + << "Mixing status of AudioSource #" << i << " wrong."; } else { - EXPECT_TRUE(is_mixed) << "Mixing status of AudioSource #" << i - << " wrong."; + EXPECT_TRUE(is_mixed) + << "Mixing status of AudioSource #" << i << " wrong."; } } } @@ -221,9 +221,8 @@ TEST(AudioMixer, FrameNotModifiedForSingleParticipant) { &audio_frame); } - EXPECT_EQ( - 0, - memcmp(participant.fake_frame()->data(), audio_frame.data(), n_samples)); + EXPECT_EQ(0, memcmp(participant.fake_frame()->data(), audio_frame.data(), + n_samples)); } TEST(AudioMixer, SourceAtNativeRateShouldNeverResample) { |