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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 // the user defined limits (applied by calling setMinimumDelay() and/or | 208 // the user defined limits (applied by calling setMinimumDelay() and/or |
209 // SetMaximumDelay()) are applied. | 209 // SetMaximumDelay()) are applied. |
210 virtual int LeastRequiredDelayMs() const = 0; | 210 virtual int LeastRequiredDelayMs() const = 0; |
211 | 211 |
212 // Not implemented. | 212 // Not implemented. |
213 virtual int SetTargetDelay() = 0; | 213 virtual int SetTargetDelay() = 0; |
214 | 214 |
215 // Not implemented. | 215 // Not implemented. |
216 virtual int TargetDelay() = 0; | 216 virtual int TargetDelay() = 0; |
217 | 217 |
218 // Not implemented. | 218 // Returns the current total delay (packet buffer and sync buffer) in ms. |
219 virtual int CurrentDelay() = 0; | 219 virtual int CurrentDelayMs() const = 0; |
220 | 220 |
221 // Sets the playout mode to |mode|. | 221 // Sets the playout mode to |mode|. |
222 // Deprecated. Set the mode in the Config struct passed to the constructor. | 222 // Deprecated. Set the mode in the Config struct passed to the constructor. |
223 // TODO(henrik.lundin) Delete. | 223 // TODO(henrik.lundin) Delete. |
224 virtual void SetPlayoutMode(NetEqPlayoutMode mode) = 0; | 224 virtual void SetPlayoutMode(NetEqPlayoutMode mode) = 0; |
225 | 225 |
226 // Returns the current playout mode. | 226 // Returns the current playout mode. |
227 // Deprecated. | 227 // Deprecated. |
228 // TODO(henrik.lundin) Delete. | 228 // TODO(henrik.lundin) Delete. |
229 virtual NetEqPlayoutMode PlayoutMode() const = 0; | 229 virtual NetEqPlayoutMode PlayoutMode() const = 0; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 | 279 |
280 protected: | 280 protected: |
281 NetEq() {} | 281 NetEq() {} |
282 | 282 |
283 private: | 283 private: |
284 DISALLOW_COPY_AND_ASSIGN(NetEq); | 284 DISALLOW_COPY_AND_ASSIGN(NetEq); |
285 }; | 285 }; |
286 | 286 |
287 } // namespace webrtc | 287 } // namespace webrtc |
288 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_INTERFACE_NETEQ_H_ | 288 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_INTERFACE_NETEQ_H_ |
OLD | NEW |