OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |