OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 void ResetInitialDelay(); | 171 void ResetInitialDelay(); |
172 | 172 |
173 // | 173 // |
174 // Get the current sampling frequency in Hz. | 174 // Get the current sampling frequency in Hz. |
175 // | 175 // |
176 // Return value : Sampling frequency in Hz. | 176 // Return value : Sampling frequency in Hz. |
177 // | 177 // |
178 int current_sample_rate_hz() const; | 178 int current_sample_rate_hz() const; |
179 | 179 |
180 // | 180 // |
181 // Sets the playout mode. | |
182 // | |
183 // Input: | |
184 // - mode : an enumerator specifying the playout mode. | |
185 // | |
186 void SetPlayoutMode(AudioPlayoutMode mode); | |
187 | |
188 // | |
189 // Get the current playout mode. | |
190 // | |
191 // Return value : The current playout mode. | |
192 // | |
193 AudioPlayoutMode PlayoutMode() const; | |
194 | |
195 // | |
196 // Get the current network statistics from NetEq. | 181 // Get the current network statistics from NetEq. |
197 // | 182 // |
198 // Output: | 183 // Output: |
199 // - statistics : The current network statistics. | 184 // - statistics : The current network statistics. |
200 // | 185 // |
201 void GetNetworkStatistics(NetworkStatistics* statistics); | 186 void GetNetworkStatistics(NetworkStatistics* statistics); |
202 | 187 |
203 // | 188 // |
204 // Enable post-decoding VAD. | 189 // Enable post-decoding VAD. |
205 // | 190 // |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 // initial delay is set. | 343 // initial delay is set. |
359 rtc::scoped_ptr<InitialDelayManager::SyncStream> missing_packets_sync_stream_; | 344 rtc::scoped_ptr<InitialDelayManager::SyncStream> missing_packets_sync_stream_; |
360 rtc::scoped_ptr<InitialDelayManager::SyncStream> late_packets_sync_stream_; | 345 rtc::scoped_ptr<InitialDelayManager::SyncStream> late_packets_sync_stream_; |
361 }; | 346 }; |
362 | 347 |
363 } // namespace acm2 | 348 } // namespace acm2 |
364 | 349 |
365 } // namespace webrtc | 350 } // namespace webrtc |
366 | 351 |
367 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_ACM_RECEIVER_H_ | 352 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_ACM_RECEIVER_H_ |
OLD | NEW |