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

Side by Side Diff: webrtc/media/engine/webrtcvoiceengine.cc

Issue 2935693005: Adding stats that can be used to compute output audio levels.
Patch Set: Created 3 years, 6 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/media/base/mediachannel.h ('k') | webrtc/pc/rtcstats_integrationtest.cc » ('j') | 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) 2004 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2004 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 2233 matching lines...) Expand 10 before | Expand all | Expand 10 after
2244 rinfo.packets_lost = stats.packets_lost; 2244 rinfo.packets_lost = stats.packets_lost;
2245 rinfo.fraction_lost = stats.fraction_lost; 2245 rinfo.fraction_lost = stats.fraction_lost;
2246 rinfo.codec_name = stats.codec_name; 2246 rinfo.codec_name = stats.codec_name;
2247 rinfo.codec_payload_type = stats.codec_payload_type; 2247 rinfo.codec_payload_type = stats.codec_payload_type;
2248 rinfo.ext_seqnum = stats.ext_seqnum; 2248 rinfo.ext_seqnum = stats.ext_seqnum;
2249 rinfo.jitter_ms = stats.jitter_ms; 2249 rinfo.jitter_ms = stats.jitter_ms;
2250 rinfo.jitter_buffer_ms = stats.jitter_buffer_ms; 2250 rinfo.jitter_buffer_ms = stats.jitter_buffer_ms;
2251 rinfo.jitter_buffer_preferred_ms = stats.jitter_buffer_preferred_ms; 2251 rinfo.jitter_buffer_preferred_ms = stats.jitter_buffer_preferred_ms;
2252 rinfo.delay_estimate_ms = stats.delay_estimate_ms; 2252 rinfo.delay_estimate_ms = stats.delay_estimate_ms;
2253 rinfo.audio_level = stats.audio_level; 2253 rinfo.audio_level = stats.audio_level;
2254 rinfo.total_output_energy = stats.total_output_energy;
2255 rinfo.total_output_duration = stats.total_output_duration;
2254 rinfo.expand_rate = stats.expand_rate; 2256 rinfo.expand_rate = stats.expand_rate;
2255 rinfo.speech_expand_rate = stats.speech_expand_rate; 2257 rinfo.speech_expand_rate = stats.speech_expand_rate;
2256 rinfo.secondary_decoded_rate = stats.secondary_decoded_rate; 2258 rinfo.secondary_decoded_rate = stats.secondary_decoded_rate;
2257 rinfo.accelerate_rate = stats.accelerate_rate; 2259 rinfo.accelerate_rate = stats.accelerate_rate;
2258 rinfo.preemptive_expand_rate = stats.preemptive_expand_rate; 2260 rinfo.preemptive_expand_rate = stats.preemptive_expand_rate;
2259 rinfo.decoding_calls_to_silence_generator = 2261 rinfo.decoding_calls_to_silence_generator =
2260 stats.decoding_calls_to_silence_generator; 2262 stats.decoding_calls_to_silence_generator;
2261 rinfo.decoding_calls_to_neteq = stats.decoding_calls_to_neteq; 2263 rinfo.decoding_calls_to_neteq = stats.decoding_calls_to_neteq;
2262 rinfo.decoding_normal = stats.decoding_normal; 2264 rinfo.decoding_normal = stats.decoding_normal;
2263 rinfo.decoding_plc = stats.decoding_plc; 2265 rinfo.decoding_plc = stats.decoding_plc;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
2341 ssrc); 2343 ssrc);
2342 if (it != unsignaled_recv_ssrcs_.end()) { 2344 if (it != unsignaled_recv_ssrcs_.end()) {
2343 unsignaled_recv_ssrcs_.erase(it); 2345 unsignaled_recv_ssrcs_.erase(it);
2344 return true; 2346 return true;
2345 } 2347 }
2346 return false; 2348 return false;
2347 } 2349 }
2348 } // namespace cricket 2350 } // namespace cricket
2349 2351
2350 #endif // HAVE_WEBRTC_VOICE 2352 #endif // HAVE_WEBRTC_VOICE
OLDNEW
« no previous file with comments | « webrtc/media/base/mediachannel.h ('k') | webrtc/pc/rtcstats_integrationtest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698