Format almost everything.

This CL was generated by running

git ls-files | grep -P "(\.h|\.cc)$" | grep -v 'sdk/' | grep -v 'rtc_base/ssl_' | \
grep -v 'fake_rtc_certificate_generator.h' | grep -v 'modules/audio_device/win/' | \
grep -v 'system_wrappers/source/clock.cc' | grep -v 'rtc_base/trace_event.h' | \
grep -v 'modules/audio_coding/codecs/ilbc/' | grep -v 'screen_capturer_mac.h' | \
grep -v 'spl_inl_mips.h' | grep -v 'data_size_unittest.cc' | grep -v 'timestamp_unittest.cc' \
| xargs clang-format -i ; git cl format

Most of these changes are clang-format grouping and reordering includes
differently.

Bug: webrtc:9340
Change-Id: Ic83ddbc169bfacd21883e381b5181c3dd4fe8a63
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/144051
Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28505}
This commit is contained in:
Jonas Olsson
2019-07-05 19:08:33 +02:00
committed by Commit Bot
parent c93bfcfd2f
commit a4d873786f
1202 changed files with 2991 additions and 1995 deletions

View File

@ -112,8 +112,7 @@ TestAllCodecs::TestAllCodecs()
channel_a_to_b_(NULL),
test_count_(0),
packet_size_samples_(0),
packet_size_bytes_(0) {
}
packet_size_bytes_(0) {}
TestAllCodecs::~TestAllCodecs() {
if (channel_a_to_b_ != NULL) {
@ -360,13 +359,15 @@ void TestAllCodecs::RegisterSendCodec(char side,
my_acm = acm_b_.get();
break;
}
default: { break; }
default: {
break;
}
}
ASSERT_TRUE(my_acm != NULL);
auto factory = CreateBuiltinAudioEncoderFactory();
constexpr int payload_type = 17;
SdpAudioFormat format = { codec_name, clockrate_hz, num_channels };
SdpAudioFormat format = {codec_name, clockrate_hz, num_channels};
format.parameters["ptime"] = rtc::ToString(rtc::CheckedDivExact(
packet_size, rtc::CheckedDivExact(sampling_freq_hz, 1000)));
my_acm->SetEncoder(