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

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

Issue 2397573006: Using AudioOption to enable audio network adaptor. (Closed)
Patch Set: on comments 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const PacketTime& packet_time); 86 const PacketTime& packet_time);
87 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length); 87 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length);
88 88
89 virtual const rtc::scoped_refptr<AudioDecoderFactory>& 89 virtual const rtc::scoped_refptr<AudioDecoderFactory>&
90 GetAudioDecoderFactory() const; 90 GetAudioDecoderFactory() const;
91 91
92 virtual void SetChannelOutputVolumeScaling(float scaling); 92 virtual void SetChannelOutputVolumeScaling(float scaling);
93 93
94 virtual void SetRtcEventLog(RtcEventLog* event_log); 94 virtual void SetRtcEventLog(RtcEventLog* event_log);
95 95
96 virtual bool EnableAudioNetworkAdaptor(const std::string& config_string);
97
the sun 2016/10/28 18:21:53 remove blank lines
minyue-webrtc 2016/10/28 18:41:57 will do
98 virtual void DisableAudioNetworkAdaptor();
99
100 virtual void SetReceiverFrameLengthRange(int min_frame_length_ms,
101 int max_frame_length_ms);
96 virtual AudioMixer::Source::AudioFrameInfo GetAudioFrameWithInfo( 102 virtual AudioMixer::Source::AudioFrameInfo GetAudioFrameWithInfo(
97 int sample_rate_hz, 103 int sample_rate_hz,
98 AudioFrame* audio_frame); 104 AudioFrame* audio_frame);
99 105
100 private: 106 private:
101 Channel* channel() const; 107 Channel* channel() const;
102 108
103 rtc::ThreadChecker thread_checker_; 109 rtc::ThreadChecker thread_checker_;
104 rtc::RaceChecker race_checker_; 110 rtc::RaceChecker race_checker_;
105 ChannelOwner channel_owner_; 111 ChannelOwner channel_owner_;
106 112
107 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); 113 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy);
108 }; 114 };
109 } // namespace voe 115 } // namespace voe
110 } // namespace webrtc 116 } // namespace webrtc
111 117
112 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ 118 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698