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

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

Issue 2669153004: Remove remaining calls to VoE APIs from Audio[Send|Receive]Stream. (Closed)
Patch Set: logging bug Created 3 years, 10 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/test/mock_voe_channel_proxy.h ('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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 virtual int NeededFrequency() const; 100 virtual int NeededFrequency() const;
101 virtual void SetTransportOverhead(int transport_overhead_per_packet); 101 virtual void SetTransportOverhead(int transport_overhead_per_packet);
102 virtual void AssociateSendChannel(const ChannelProxy& send_channel_proxy); 102 virtual void AssociateSendChannel(const ChannelProxy& send_channel_proxy);
103 virtual void DisassociateSendChannel(); 103 virtual void DisassociateSendChannel();
104 virtual void GetRtpRtcp(RtpRtcp** rtp_rtcp, 104 virtual void GetRtpRtcp(RtpRtcp** rtp_rtcp,
105 RtpReceiver** rtp_receiver) const; 105 RtpReceiver** rtp_receiver) const;
106 virtual void GetDelayEstimate(int* jitter_buffer_delay_ms, 106 virtual void GetDelayEstimate(int* jitter_buffer_delay_ms,
107 int* playout_buffer_delay_ms) const; 107 int* playout_buffer_delay_ms) const;
108 virtual uint32_t GetPlayoutTimestamp() const; 108 virtual uint32_t GetPlayoutTimestamp() const;
109 virtual void SetMinimumPlayoutDelay(int delay_ms); 109 virtual void SetMinimumPlayoutDelay(int delay_ms);
110
111 virtual void SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats); 110 virtual void SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats);
111 virtual bool GetRecCodec(CodecInst* codec_inst) const;
112 virtual bool GetSendCodec(CodecInst* codec_inst) const;
113 virtual bool SetVADStatus(bool enable);
114 virtual bool SetCodecFECStatus(bool enable);
115 virtual bool SetOpusDtx(bool enable);
116 virtual bool SetOpusMaxPlaybackRate(int frequency_hz);
117 virtual bool SetSendCodec(const CodecInst& codec_inst);
118 virtual bool SetSendCNPayloadType(int type, PayloadFrequencies frequency);
112 119
113 private: 120 private:
114 Channel* channel() const; 121 Channel* channel() const;
115 122
116 rtc::ThreadChecker thread_checker_; 123 rtc::ThreadChecker thread_checker_;
117 rtc::RaceChecker race_checker_; 124 rtc::RaceChecker race_checker_;
118 ChannelOwner channel_owner_; 125 ChannelOwner channel_owner_;
119 126
120 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); 127 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy);
121 }; 128 };
122 } // namespace voe 129 } // namespace voe
123 } // namespace webrtc 130 } // namespace webrtc
124 131
125 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ 132 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/test/mock_voe_channel_proxy.h ('k') | webrtc/voice_engine/channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698