| 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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 // | 630 // |
| 631 // Input: | 631 // Input: |
| 632 // -time_ms : maximum delay in milliseconds. | 632 // -time_ms : maximum delay in milliseconds. |
| 633 // | 633 // |
| 634 // Return value: | 634 // Return value: |
| 635 // -1 if failed to set the delay, | 635 // -1 if failed to set the delay, |
| 636 // 0 if the maximum delay is set. | 636 // 0 if the maximum delay is set. |
| 637 // | 637 // |
| 638 virtual int SetMaximumPlayoutDelay(int time_ms) = 0; | 638 virtual int SetMaximumPlayoutDelay(int time_ms) = 0; |
| 639 | 639 |
| 640 // | 640 // TODO(kwiberg): Consider if this is needed anymore, now that voe::Channel |
| 641 // doesn't use it. |
| 641 // The shortest latency, in milliseconds, required by jitter buffer. This | 642 // The shortest latency, in milliseconds, required by jitter buffer. This |
| 642 // is computed based on inter-arrival times and playout mode of NetEq. The | 643 // is computed based on inter-arrival times and playout mode of NetEq. The |
| 643 // actual delay is the maximum of least-required-delay and the minimum-delay | 644 // actual delay is the maximum of least-required-delay and the minimum-delay |
| 644 // specified by SetMinumumPlayoutDelay() API. | 645 // specified by SetMinumumPlayoutDelay() API. |
| 645 // | 646 // |
| 646 virtual int LeastRequiredDelayMs() const = 0; | 647 virtual int LeastRequiredDelayMs() const = 0; |
| 647 | 648 |
| 648 // int32_t PlayoutTimestamp() | 649 // int32_t PlayoutTimestamp() |
| 649 // The send timestamp of an RTP packet is associated with the decoded | 650 // The send timestamp of an RTP packet is associated with the decoded |
| 650 // audio of the packet in question. This function returns the timestamp of | 651 // audio of the packet in question. This function returns the timestamp of |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 815 virtual std::vector<uint16_t> GetNackList( | 816 virtual std::vector<uint16_t> GetNackList( |
| 816 int64_t round_trip_time_ms) const = 0; | 817 int64_t round_trip_time_ms) const = 0; |
| 817 | 818 |
| 818 virtual void GetDecodingCallStatistics( | 819 virtual void GetDecodingCallStatistics( |
| 819 AudioDecodingCallStats* call_stats) const = 0; | 820 AudioDecodingCallStats* call_stats) const = 0; |
| 820 }; | 821 }; |
| 821 | 822 |
| 822 } // namespace webrtc | 823 } // namespace webrtc |
| 823 | 824 |
| 824 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_ | 825 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_ |
| OLD | NEW |