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

Side by Side Diff: webrtc/voice_engine/channel_proxy.h

Issue 2935693005: Adding stats that can be used to compute output audio levels.
Patch Set: Created 3 years, 6 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/voice_engine/channel.cc ('k') | webrtc/voice_engine/channel_proxy.cc » ('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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual void RegisterReceiverCongestionControlObjects( 75 virtual void RegisterReceiverCongestionControlObjects(
76 PacketRouter* packet_router); 76 PacketRouter* packet_router);
77 virtual void ResetSenderCongestionControlObjects(); 77 virtual void ResetSenderCongestionControlObjects();
78 virtual void ResetReceiverCongestionControlObjects(); 78 virtual void ResetReceiverCongestionControlObjects();
79 virtual CallStatistics GetRTCPStatistics() const; 79 virtual CallStatistics GetRTCPStatistics() const;
80 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const; 80 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const;
81 virtual NetworkStatistics GetNetworkStatistics() const; 81 virtual NetworkStatistics GetNetworkStatistics() const;
82 virtual AudioDecodingCallStats GetDecodingCallStatistics() const; 82 virtual AudioDecodingCallStats GetDecodingCallStatistics() const;
83 virtual int GetSpeechOutputLevel() const; 83 virtual int GetSpeechOutputLevel() const;
84 virtual int GetSpeechOutputLevelFullRange() const; 84 virtual int GetSpeechOutputLevelFullRange() const;
85 // See description of "totalAudioEnergy" in the WebRTC stats spec.
86 virtual double GetTotalOutputEnergy() const;
87 virtual double GetTotalOutputDuration() const;
85 virtual uint32_t GetDelayEstimate() const; 88 virtual uint32_t GetDelayEstimate() const;
86 virtual bool SetSendTelephoneEventPayloadType(int payload_type, 89 virtual bool SetSendTelephoneEventPayloadType(int payload_type,
87 int payload_frequency); 90 int payload_frequency);
88 virtual bool SendTelephoneEventOutband(int event, int duration_ms); 91 virtual bool SendTelephoneEventOutband(int event, int duration_ms);
89 virtual void SetBitrate(int bitrate_bps, int64_t probing_interval_ms); 92 virtual void SetBitrate(int bitrate_bps, int64_t probing_interval_ms);
90 virtual void SetRecPayloadType(int payload_type, 93 virtual void SetRecPayloadType(int payload_type,
91 const SdpAudioFormat& format); 94 const SdpAudioFormat& format);
92 virtual void SetReceiveCodecs(const std::map<int, SdpAudioFormat>& codecs); 95 virtual void SetReceiveCodecs(const std::map<int, SdpAudioFormat>& codecs);
93 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink); 96 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink);
94 virtual void SetInputMute(bool muted); 97 virtual void SetInputMute(bool muted);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 rtc::RaceChecker audio_thread_race_checker_; 138 rtc::RaceChecker audio_thread_race_checker_;
136 rtc::RaceChecker video_capture_thread_race_checker_; 139 rtc::RaceChecker video_capture_thread_race_checker_;
137 ChannelOwner channel_owner_; 140 ChannelOwner channel_owner_;
138 141
139 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); 142 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy);
140 }; 143 };
141 } // namespace voe 144 } // namespace voe
142 } // namespace webrtc 145 } // namespace webrtc
143 146
144 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ 147 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/voice_engine/channel.cc ('k') | webrtc/voice_engine/channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698