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 { |
| 148 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 149 return channel()->GetANAStatistics(); |
| 150 } |
| 151 |
147 int ChannelProxy::GetSpeechOutputLevel() const { | 152 int ChannelProxy::GetSpeechOutputLevel() const { |
148 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 153 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
149 return channel()->GetSpeechOutputLevel(); | 154 return channel()->GetSpeechOutputLevel(); |
150 } | 155 } |
151 | 156 |
152 int ChannelProxy::GetSpeechOutputLevelFullRange() const { | 157 int ChannelProxy::GetSpeechOutputLevelFullRange() const { |
153 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 158 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
154 return channel()->GetSpeechOutputLevelFullRange(); | 159 return channel()->GetSpeechOutputLevelFullRange(); |
155 } | 160 } |
156 | 161 |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 return channel()->GetSources(); | 344 return channel()->GetSources(); |
340 } | 345 } |
341 | 346 |
342 Channel* ChannelProxy::channel() const { | 347 Channel* ChannelProxy::channel() const { |
343 RTC_DCHECK(channel_owner_.channel()); | 348 RTC_DCHECK(channel_owner_.channel()); |
344 return channel_owner_.channel(); | 349 return channel_owner_.channel(); |
345 } | 350 } |
346 | 351 |
347 } // namespace voe | 352 } // namespace voe |
348 } // namespace webrtc | 353 } // namespace webrtc |
OLD | NEW |