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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 | 156 |
157 // Smallest latency NetEq will maintain. | 157 // Smallest latency NetEq will maintain. |
158 int LeastRequiredDelayMs() const override; | 158 int LeastRequiredDelayMs() const override; |
159 | 159 |
160 RTC_DEPRECATED int32_t PlayoutTimestamp(uint32_t* timestamp) override; | 160 RTC_DEPRECATED int32_t PlayoutTimestamp(uint32_t* timestamp) override; |
161 | 161 |
162 rtc::Optional<uint32_t> PlayoutTimestamp() override; | 162 rtc::Optional<uint32_t> PlayoutTimestamp() override; |
163 | 163 |
164 // Get 10 milliseconds of raw audio data to play out, and | 164 // Get 10 milliseconds of raw audio data to play out, and |
165 // automatic resample to the requested frequency if > 0. | 165 // automatic resample to the requested frequency if > 0. |
| 166 int PlayoutData10Ms(int desired_freq_hz, |
| 167 AudioFrame* audio_frame, |
| 168 bool* muted) override; |
166 int PlayoutData10Ms(int desired_freq_hz, AudioFrame* audio_frame) override; | 169 int PlayoutData10Ms(int desired_freq_hz, AudioFrame* audio_frame) override; |
167 | 170 |
168 ///////////////////////////////////////// | 171 ///////////////////////////////////////// |
169 // Statistics | 172 // Statistics |
170 // | 173 // |
171 | 174 |
172 int GetNetworkStatistics(NetworkStatistics* statistics) override; | 175 int GetNetworkStatistics(NetworkStatistics* statistics) override; |
173 | 176 |
174 int SetOpusApplication(OpusApplicationMode application) override; | 177 int SetOpusApplication(OpusApplicationMode application) override; |
175 | 178 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 rtc::CriticalSection callback_crit_sect_; | 297 rtc::CriticalSection callback_crit_sect_; |
295 AudioPacketizationCallback* packetization_callback_ | 298 AudioPacketizationCallback* packetization_callback_ |
296 GUARDED_BY(callback_crit_sect_); | 299 GUARDED_BY(callback_crit_sect_); |
297 ACMVADCallback* vad_callback_ GUARDED_BY(callback_crit_sect_); | 300 ACMVADCallback* vad_callback_ GUARDED_BY(callback_crit_sect_); |
298 }; | 301 }; |
299 | 302 |
300 } // namespace acm2 | 303 } // namespace acm2 |
301 } // namespace webrtc | 304 } // namespace webrtc |
302 | 305 |
303 #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_AUDIO_CODING_MODULE_IMPL_H_ | 306 #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_AUDIO_CODING_MODULE_IMPL_H_ |
OLD | NEW |