OLD | NEW |
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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 void AudioReceiveStream::SetSink(std::unique_ptr<AudioSinkInterface> sink) { | 231 void AudioReceiveStream::SetSink(std::unique_ptr<AudioSinkInterface> sink) { |
232 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 232 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
233 channel_proxy_->SetSink(std::move(sink)); | 233 channel_proxy_->SetSink(std::move(sink)); |
234 } | 234 } |
235 | 235 |
236 const webrtc::AudioReceiveStream::Config& AudioReceiveStream::config() const { | 236 const webrtc::AudioReceiveStream::Config& AudioReceiveStream::config() const { |
237 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 237 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
238 return config_; | 238 return config_; |
239 } | 239 } |
240 | 240 |
| 241 void AudioReceiveStream::SetRtcEventLog(webrtc::RtcEventLog* event_log) { |
| 242 channel_proxy_->SetRtcEventLog(event_log); |
| 243 } |
| 244 |
241 VoiceEngine* AudioReceiveStream::voice_engine() const { | 245 VoiceEngine* AudioReceiveStream::voice_engine() const { |
242 internal::AudioState* audio_state = | 246 internal::AudioState* audio_state = |
243 static_cast<internal::AudioState*>(audio_state_.get()); | 247 static_cast<internal::AudioState*>(audio_state_.get()); |
244 VoiceEngine* voice_engine = audio_state->voice_engine(); | 248 VoiceEngine* voice_engine = audio_state->voice_engine(); |
245 RTC_DCHECK(voice_engine); | 249 RTC_DCHECK(voice_engine); |
246 return voice_engine; | 250 return voice_engine; |
247 } | 251 } |
248 } // namespace internal | 252 } // namespace internal |
249 } // namespace webrtc | 253 } // namespace webrtc |
OLD | NEW |