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 29 matching lines...) Expand all Loading... |
40 virtual ~AudioPacketizationCallback() {} | 40 virtual ~AudioPacketizationCallback() {} |
41 | 41 |
42 virtual int32_t SendData(FrameType frame_type, | 42 virtual int32_t SendData(FrameType frame_type, |
43 uint8_t payload_type, | 43 uint8_t payload_type, |
44 uint32_t timestamp, | 44 uint32_t timestamp, |
45 const uint8_t* payload_data, | 45 const uint8_t* payload_data, |
46 size_t payload_len_bytes, | 46 size_t payload_len_bytes, |
47 const RTPFragmentationHeader* fragmentation) = 0; | 47 const RTPFragmentationHeader* fragmentation) = 0; |
48 }; | 48 }; |
49 | 49 |
50 // Callback class used for inband Dtmf detection | |
51 class AudioCodingFeedback { | |
52 public: | |
53 virtual ~AudioCodingFeedback() {} | |
54 | |
55 virtual int32_t IncomingDtmf(const uint8_t digit_dtmf, | |
56 const bool end) = 0; | |
57 }; | |
58 | |
59 // Callback class used for reporting VAD decision | 50 // Callback class used for reporting VAD decision |
60 class ACMVADCallback { | 51 class ACMVADCallback { |
61 public: | 52 public: |
62 virtual ~ACMVADCallback() {} | 53 virtual ~ACMVADCallback() {} |
63 | 54 |
64 virtual int32_t InFrameType(FrameType frame_type) = 0; | 55 virtual int32_t InFrameType(FrameType frame_type) = 0; |
65 }; | 56 }; |
66 | 57 |
67 // Callback class used for reporting receiver statistics | 58 // Callback class used for reporting receiver statistics |
68 class ACMVQMonCallback { | 59 class ACMVQMonCallback { |
(...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 virtual std::vector<uint16_t> GetNackList(int round_trip_time_ms) const = 0; | 976 virtual std::vector<uint16_t> GetNackList(int round_trip_time_ms) const = 0; |
986 | 977 |
987 // Returns the timing statistics for calls to Get10MsAudio. | 978 // Returns the timing statistics for calls to Get10MsAudio. |
988 virtual void GetDecodingCallStatistics( | 979 virtual void GetDecodingCallStatistics( |
989 AudioDecodingCallStats* call_stats) const = 0; | 980 AudioDecodingCallStats* call_stats) const = 0; |
990 }; | 981 }; |
991 | 982 |
992 } // namespace webrtc | 983 } // namespace webrtc |
993 | 984 |
994 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_INTERFACE_AUDIO_CODING_MODULE_H_ | 985 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_INTERFACE_AUDIO_CODING_MODULE_H_ |
OLD | NEW |