Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: webrtc/voice_engine/channel_proxy.cc

Issue 3011623002: Add new ANA stats to GetStats() to count the number of actions taken by each controller. (Closed)
Patch Set: Fix for failing test. Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/voice_engine/channel_proxy.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webrtc/voice_engine/channel_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698