Chromium Code Reviews| Index: webrtc/voice_engine/channel_proxy.cc |
| diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc |
| index fc22180566ccba2948cfa9e093ed58dcc6fcb185..f7ca9ad9e4f3aeb7c635e046cf780b334618820b 100644 |
| --- a/webrtc/voice_engine/channel_proxy.cc |
| +++ b/webrtc/voice_engine/channel_proxy.cc |
| @@ -214,6 +214,23 @@ void ChannelProxy::SetRtcEventLog(RtcEventLog* event_log) { |
| channel()->SetRtcEventLog(event_log); |
| } |
| +bool ChannelProxy::EnableAudioNetworkAdaptor(const std::string& config_string) { |
| + RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| + return channel()->EnableAudioNetworkAdaptor(config_string); |
|
the sun
2016/10/25 09:25:46
AFAICT this call cannot fail (that would mean new(
|
| +} |
| + |
| +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); |
| +} |
| + |
| Channel* ChannelProxy::channel() const { |
| RTC_DCHECK(channel_owner_.channel()); |
| return channel_owner_.channel(); |