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

Side by Side Diff: webrtc/modules/audio_coding/main/acm2/acm_common_defs.h

Issue 1178053002: Add UMA logging for target audio bitrate (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing a problem that was revealed in tests, and silencing a few warnings Created 5 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 | « no previous file | webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.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) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 struct WebRtcACMAudioBuff { 69 struct WebRtcACMAudioBuff {
70 int16_t in_audio[AUDIO_BUFFER_SIZE_W16]; 70 int16_t in_audio[AUDIO_BUFFER_SIZE_W16];
71 int16_t in_audio_ix_read; 71 int16_t in_audio_ix_read;
72 int16_t in_audio_ix_write; 72 int16_t in_audio_ix_write;
73 uint32_t in_timestamp[TIMESTAMP_BUFFER_SIZE_W32]; 73 uint32_t in_timestamp[TIMESTAMP_BUFFER_SIZE_W32];
74 int16_t in_timestamp_ix_write; 74 int16_t in_timestamp_ix_write;
75 uint32_t last_timestamp; 75 uint32_t last_timestamp;
76 uint32_t last_in_timestamp; 76 uint32_t last_in_timestamp;
77 }; 77 };
78 78
79 #define HISTOGRAM_NAME_AUDIO_TARGET_BITRATE_IN_KBPS \
80 "WebRTC.Audio.TargetBitrateInKbps"
81
79 } // namespace webrtc 82 } // namespace webrtc
80 83
81 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_ACM_COMMON_DEFS_H_ 84 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_ACM_COMMON_DEFS_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698