Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(704)

Side by Side Diff: webrtc/modules/audio_coding/main/interface/audio_coding_module.h

Issue 1353763002: Remove ACM AudioCodingFeedback callback object and derived classes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@acm-remove-dtmf-api
Patch Set: Fix an error introduced in first patch set Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/engine_configurations.h ('k') | webrtc/modules/audio_coding/main/test/APITest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « webrtc/engine_configurations.h ('k') | webrtc/modules/audio_coding/main/test/APITest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698