| 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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 /////////////////////////////////////////////////////////////////////////// | 668 /////////////////////////////////////////////////////////////////////////// |
| 669 // int32_t PlayoutTimestamp() | 669 // int32_t PlayoutTimestamp() |
| 670 // The send timestamp of an RTP packet is associated with the decoded | 670 // The send timestamp of an RTP packet is associated with the decoded |
| 671 // audio of the packet in question. This function returns the timestamp of | 671 // audio of the packet in question. This function returns the timestamp of |
| 672 // the latest audio obtained by calling PlayoutData10ms(), or empty if no | 672 // the latest audio obtained by calling PlayoutData10ms(), or empty if no |
| 673 // valid timestamp is available. | 673 // valid timestamp is available. |
| 674 // | 674 // |
| 675 virtual rtc::Optional<uint32_t> PlayoutTimestamp() = 0; | 675 virtual rtc::Optional<uint32_t> PlayoutTimestamp() = 0; |
| 676 | 676 |
| 677 /////////////////////////////////////////////////////////////////////////// | 677 /////////////////////////////////////////////////////////////////////////// |
| 678 // int FilteredCurrentDelayMs() |
| 679 // Returns the current total delay from NetEq (packet buffer and sync buffer) |
| 680 // in ms, with smoothing applied to even out short-time fluctuations due to |
| 681 // jitter. The packet buffer part of the delay is not updated during DTX/CNG |
| 682 // periods. |
| 683 // |
| 684 virtual int FilteredCurrentDelayMs() const = 0; |
| 685 |
| 686 /////////////////////////////////////////////////////////////////////////// |
| 678 // int32_t PlayoutData10Ms( | 687 // int32_t PlayoutData10Ms( |
| 679 // Get 10 milliseconds of raw audio data for playout, at the given sampling | 688 // Get 10 milliseconds of raw audio data for playout, at the given sampling |
| 680 // frequency. ACM will perform a resampling if required. | 689 // frequency. ACM will perform a resampling if required. |
| 681 // | 690 // |
| 682 // Input: | 691 // Input: |
| 683 // -desired_freq_hz : the desired sampling frequency, in Hertz, of the | 692 // -desired_freq_hz : the desired sampling frequency, in Hertz, of the |
| 684 // output audio. If set to -1, the function returns | 693 // output audio. If set to -1, the function returns |
| 685 // the audio at the current sampling frequency. | 694 // the audio at the current sampling frequency. |
| 686 // | 695 // |
| 687 // Output: | 696 // Output: |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 virtual std::vector<uint16_t> GetNackList( | 821 virtual std::vector<uint16_t> GetNackList( |
| 813 int64_t round_trip_time_ms) const = 0; | 822 int64_t round_trip_time_ms) const = 0; |
| 814 | 823 |
| 815 virtual void GetDecodingCallStatistics( | 824 virtual void GetDecodingCallStatistics( |
| 816 AudioDecodingCallStats* call_stats) const = 0; | 825 AudioDecodingCallStats* call_stats) const = 0; |
| 817 }; | 826 }; |
| 818 | 827 |
| 819 } // namespace webrtc | 828 } // namespace webrtc |
| 820 | 829 |
| 821 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_ | 830 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_ |
| OLD | NEW |