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

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

Issue 1365193003: ACM: Remove ACMVQMonCallback object (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | no next file » | 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 }; 47 };
48 48
49 // Callback class used for reporting VAD decision 49 // Callback class used for reporting VAD decision
50 class ACMVADCallback { 50 class ACMVADCallback {
51 public: 51 public:
52 virtual ~ACMVADCallback() {} 52 virtual ~ACMVADCallback() {}
53 53
54 virtual int32_t InFrameType(FrameType frame_type) = 0; 54 virtual int32_t InFrameType(FrameType frame_type) = 0;
55 }; 55 };
56 56
57 // Callback class used for reporting receiver statistics
58 class ACMVQMonCallback {
59 public:
60 virtual ~ACMVQMonCallback() {}
61
62 virtual int32_t NetEqStatistics(
63 const int32_t id, // current ACM id
64 const uint16_t MIUsValid, // valid voice duration in ms
65 const uint16_t MIUsReplaced, // concealed voice duration in ms
66 const uint8_t eventFlags, // concealed voice flags
67 const uint16_t delayMS) = 0; // average delay in ms
68 };
69
70 class AudioCodingModule { 57 class AudioCodingModule {
71 protected: 58 protected:
72 AudioCodingModule() {} 59 AudioCodingModule() {}
73 60
74 public: 61 public:
75 struct Config { 62 struct Config {
76 Config() : id(0), neteq_config(), clock(Clock::GetRealTimeClock()) {} 63 Config() : id(0), neteq_config(), clock(Clock::GetRealTimeClock()) {}
77 64
78 int id; 65 int id;
79 NetEq::Config neteq_config; 66 NetEq::Config neteq_config;
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 virtual std::vector<uint16_t> GetNackList(int round_trip_time_ms) const = 0; 957 virtual std::vector<uint16_t> GetNackList(int round_trip_time_ms) const = 0;
971 958
972 // Returns the timing statistics for calls to Get10MsAudio. 959 // Returns the timing statistics for calls to Get10MsAudio.
973 virtual void GetDecodingCallStatistics( 960 virtual void GetDecodingCallStatistics(
974 AudioDecodingCallStats* call_stats) const = 0; 961 AudioDecodingCallStats* call_stats) const = 0;
975 }; 962 };
976 963
977 } // namespace webrtc 964 } // namespace webrtc
978 965
979 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_INTERFACE_AUDIO_CODING_MODULE_H_ 966 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_INTERFACE_AUDIO_CODING_MODULE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698