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

Side by Side Diff: webrtc/media/base/mediachannel.h

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/call/audio_receive_stream.h ('k') | webrtc/media/engine/webrtcvoiceengine.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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 decoding_plc_cng(0), 668 decoding_plc_cng(0),
669 decoding_muted_output(0), 669 decoding_muted_output(0),
670 capture_start_ntp_time_ms(-1) {} 670 capture_start_ntp_time_ms(-1) {}
671 671
672 int ext_seqnum; 672 int ext_seqnum;
673 int jitter_ms; 673 int jitter_ms;
674 int jitter_buffer_ms; 674 int jitter_buffer_ms;
675 int jitter_buffer_preferred_ms; 675 int jitter_buffer_preferred_ms;
676 int delay_estimate_ms; 676 int delay_estimate_ms;
677 int audio_level; 677 int audio_level;
678 // See description of "totalAudioEnergy" in the WebRTC stats spec.
679 double total_output_energy = 0.0;
680 double total_output_duration = 0.0;
678 // fraction of synthesized audio inserted through expansion. 681 // fraction of synthesized audio inserted through expansion.
679 float expand_rate; 682 float expand_rate;
680 // fraction of synthesized speech inserted through expansion. 683 // fraction of synthesized speech inserted through expansion.
681 float speech_expand_rate; 684 float speech_expand_rate;
682 // fraction of data out of secondary decoding, including FEC and RED. 685 // fraction of data out of secondary decoding, including FEC and RED.
683 float secondary_decoded_rate; 686 float secondary_decoded_rate;
684 // Fraction of data removed through time compression. 687 // Fraction of data removed through time compression.
685 float accelerate_rate; 688 float accelerate_rate;
686 // Fraction of data inserted through time stretching. 689 // Fraction of data inserted through time stretching.
687 float preemptive_expand_rate; 690 float preemptive_expand_rate;
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 const char*, 1218 const char*,
1216 size_t> SignalDataReceived; 1219 size_t> SignalDataReceived;
1217 // Signal when the media channel is ready to send the stream. Arguments are: 1220 // Signal when the media channel is ready to send the stream. Arguments are:
1218 // writable(bool) 1221 // writable(bool)
1219 sigslot::signal1<bool> SignalReadyToSend; 1222 sigslot::signal1<bool> SignalReadyToSend;
1220 }; 1223 };
1221 1224
1222 } // namespace cricket 1225 } // namespace cricket
1223 1226
1224 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ 1227 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/call/audio_receive_stream.h ('k') | webrtc/media/engine/webrtcvoiceengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698