Index: webrtc/voice_engine/channel_proxy.cc |
diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc |
index ba58502e956c4e3105545b9d2bfd939862f42ecf..3b07b28fea12afd7029b7bc0b1673da114f8808c 100644 |
--- a/webrtc/voice_engine/channel_proxy.cc |
+++ b/webrtc/voice_engine/channel_proxy.cc |
@@ -214,6 +214,24 @@ void ChannelProxy::SetRtcEventLog(RtcEventLog* event_log) { |
channel()->SetRtcEventLog(event_log); |
} |
+void ChannelProxy::EnableAudioNetworkAdaptor(const std::string& config_string) { |
+ RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
+ bool ret = channel()->EnableAudioNetworkAdaptor(config_string); |
+ RTC_DCHECK(ret); |
+;} |
+ |
+void ChannelProxy::DisableAudioNetworkAdaptor() { |
+ RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
+ channel()->DisableAudioNetworkAdaptor(); |
+} |
+ |
+void ChannelProxy::SetReceiverFrameLengthRange(int min_frame_length_ms, |
+ int max_frame_length_ms) { |
+ RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
+ channel()->SetReceiverFrameLengthRange(min_frame_length_ms, |
+ max_frame_length_ms); |
+} |
+ |
AudioMixer::Source::AudioFrameInfo ChannelProxy::GetAudioFrameWithInfo( |
int sample_rate_hz, |
AudioFrame* audio_frame) { |