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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
137 return stats; | 137 return stats; |
138 } | 138 } |
139 | 139 |
140 AudioDecodingCallStats ChannelProxy::GetDecodingCallStatistics() const { | 140 AudioDecodingCallStats ChannelProxy::GetDecodingCallStatistics() const { |
141 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 141 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
142 AudioDecodingCallStats stats; | 142 AudioDecodingCallStats stats; |
143 channel()->GetDecodingCallStatistics(&stats); | 143 channel()->GetDecodingCallStatistics(&stats); |
144 return stats; | 144 return stats; |
145 } | 145 } |
146 | 146 |
147 ANAStats ChannelProxy::GetANAStatistics() const { | |
the sun
2017/09/08 10:43:16
RTC_DCHECK(worker_thread_checker_.CalledOnValidThr
ivoc
2017/09/08 11:25:50
Done.
| |
148 return channel()->GetANAStatistics(); | |
149 } | |
150 | |
147 int ChannelProxy::GetSpeechOutputLevel() const { | 151 int ChannelProxy::GetSpeechOutputLevel() const { |
148 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 152 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
149 return channel()->GetSpeechOutputLevel(); | 153 return channel()->GetSpeechOutputLevel(); |
150 } | 154 } |
151 | 155 |
152 int ChannelProxy::GetSpeechOutputLevelFullRange() const { | 156 int ChannelProxy::GetSpeechOutputLevelFullRange() const { |
153 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 157 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
154 return channel()->GetSpeechOutputLevelFullRange(); | 158 return channel()->GetSpeechOutputLevelFullRange(); |
155 } | 159 } |
156 | 160 |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
339 return channel()->GetSources(); | 343 return channel()->GetSources(); |
340 } | 344 } |
341 | 345 |
342 Channel* ChannelProxy::channel() const { | 346 Channel* ChannelProxy::channel() const { |
343 RTC_DCHECK(channel_owner_.channel()); | 347 RTC_DCHECK(channel_owner_.channel()); |
344 return channel_owner_.channel(); | 348 return channel_owner_.channel(); |
345 } | 349 } |
346 | 350 |
347 } // namespace voe | 351 } // namespace voe |
348 } // namespace webrtc | 352 } // namespace webrtc |
OLD | NEW |