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

Side by Side Diff: webrtc/modules/audio_coding/test/utility.h

Issue 2291503002: Fix Chromium clang plugin warnings (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/audio_coding/test/PCMFile.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 int16_t ChooseCodec(CodecInst& codecInst); 112 int16_t ChooseCodec(CodecInst& codecInst);
113 113
114 void PrintCodecs(); 114 void PrintCodecs();
115 115
116 bool FixedPayloadTypeCodec(const char* payloadName); 116 bool FixedPayloadTypeCodec(const char* payloadName);
117 117
118 class VADCallback : public ACMVADCallback { 118 class VADCallback : public ACMVADCallback {
119 public: 119 public:
120 VADCallback(); 120 VADCallback();
121 ~VADCallback() {
122 }
123 121
124 int32_t InFrameType(FrameType frame_type); 122 int32_t InFrameType(FrameType frame_type) override;
125 123
126 void PrintFrameTypes(); 124 void PrintFrameTypes();
127 void Reset(); 125 void Reset();
128 126
129 private: 127 private:
130 uint32_t _numFrameTypes[5]; 128 uint32_t _numFrameTypes[5];
131 }; 129 };
132 130
133 void UseLegacyAcm(webrtc::Config* config); 131 void UseLegacyAcm(webrtc::Config* config);
134 132
135 void UseNewAcm(webrtc::Config* config); 133 void UseNewAcm(webrtc::Config* config);
136 134
137 } // namespace webrtc 135 } // namespace webrtc
138 136
139 #endif // WEBRTC_MODULES_AUDIO_CODING_TEST_UTILITY_H_ 137 #endif // WEBRTC_MODULES_AUDIO_CODING_TEST_UTILITY_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/test/PCMFile.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698