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

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

Issue 2397573006: Using AudioOption to enable audio network adaptor. (Closed)
Patch Set: fixing some problems Created 4 years, 1 month 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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 const PacketTime& packet_time); 84 const PacketTime& packet_time);
85 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length); 85 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length);
86 86
87 virtual const rtc::scoped_refptr<AudioDecoderFactory>& 87 virtual const rtc::scoped_refptr<AudioDecoderFactory>&
88 GetAudioDecoderFactory() const; 88 GetAudioDecoderFactory() const;
89 89
90 virtual void SetChannelOutputVolumeScaling(float scaling); 90 virtual void SetChannelOutputVolumeScaling(float scaling);
91 91
92 virtual void SetRtcEventLog(RtcEventLog* event_log); 92 virtual void SetRtcEventLog(RtcEventLog* event_log);
93 93
94 virtual bool EnableAudioNetworkAdaptor(const std::string& config_string);
95
96 virtual void DisableAudioNetworkAdaptor();
97
98 virtual void SetReceiverFrameLengthRange(int min_frame_length_ms,
99 int max_frame_length_ms);
100
94 private: 101 private:
95 Channel* channel() const; 102 Channel* channel() const;
96 103
97 rtc::ThreadChecker thread_checker_; 104 rtc::ThreadChecker thread_checker_;
98 ChannelOwner channel_owner_; 105 ChannelOwner channel_owner_;
99 106
100 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); 107 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy);
101 }; 108 };
102 } // namespace voe 109 } // namespace voe
103 } // namespace webrtc 110 } // namespace webrtc
104 111
105 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ 112 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698