OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 160 |
161 RTC_DEPRECATED int32_t PlayoutTimestamp(uint32_t* timestamp) override; | 161 RTC_DEPRECATED int32_t PlayoutTimestamp(uint32_t* timestamp) override; |
162 | 162 |
163 rtc::Optional<uint32_t> PlayoutTimestamp() override; | 163 rtc::Optional<uint32_t> PlayoutTimestamp() override; |
164 | 164 |
165 // Get 10 milliseconds of raw audio data to play out, and | 165 // Get 10 milliseconds of raw audio data to play out, and |
166 // automatic resample to the requested frequency if > 0. | 166 // automatic resample to the requested frequency if > 0. |
167 int PlayoutData10Ms(int desired_freq_hz, | 167 int PlayoutData10Ms(int desired_freq_hz, |
168 AudioFrame* audio_frame, | 168 AudioFrame* audio_frame, |
169 bool* muted) override; | 169 bool* muted) override; |
170 int PlayoutData10Ms(int desired_freq_hz, AudioFrame* audio_frame) override; | |
171 | 170 |
172 ///////////////////////////////////////// | 171 ///////////////////////////////////////// |
173 // Statistics | 172 // Statistics |
174 // | 173 // |
175 | 174 |
176 int GetNetworkStatistics(NetworkStatistics* statistics) override; | 175 int GetNetworkStatistics(NetworkStatistics* statistics) override; |
177 | 176 |
178 int SetOpusApplication(OpusApplicationMode application) override; | 177 int SetOpusApplication(OpusApplicationMode application) override; |
179 | 178 |
180 // If current send codec is Opus, informs it about the maximum playback rate | 179 // If current send codec is Opus, informs it about the maximum playback rate |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 | 301 |
303 int codec_histogram_bins_log_[static_cast<size_t>( | 302 int codec_histogram_bins_log_[static_cast<size_t>( |
304 AudioEncoder::CodecType::kMaxLoggedAudioCodecTypes)]; | 303 AudioEncoder::CodecType::kMaxLoggedAudioCodecTypes)]; |
305 int number_of_consecutive_empty_packets_; | 304 int number_of_consecutive_empty_packets_; |
306 }; | 305 }; |
307 | 306 |
308 } // namespace acm2 | 307 } // namespace acm2 |
309 } // namespace webrtc | 308 } // namespace webrtc |
310 | 309 |
311 #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_AUDIO_CODING_MODULE_IMPL_H_ | 310 #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_AUDIO_CODING_MODULE_IMPL_H_ |
OLD | NEW |