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

Unified Diff: content/renderer/media/webrtc_audio_renderer.cc

Issue 148553003: Clean up histogram'd media enum max values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/webrtc_audio_renderer.cc
diff --git a/content/renderer/media/webrtc_audio_renderer.cc b/content/renderer/media/webrtc_audio_renderer.cc
index 825a4e8f456220e8b3bca75a77474df9763c135c..0849066b8441cc241a96c4d301eb33261266a86e 100644
--- a/content/renderer/media/webrtc_audio_renderer.cc
+++ b/content/renderer/media/webrtc_audio_renderer.cc
@@ -330,7 +330,7 @@ bool WebRtcAudioRenderer::Initialize(WebRtcAudioRendererSource* source) {
UMA_HISTOGRAM_ENUMERATION("WebRTC.AudioOutputChannelLayout",
source_params.channel_layout(),
- media::CHANNEL_LAYOUT_MAX);
+ media::CHANNEL_LAYOUT_HISTOGRAM_MAX);
UMA_HISTOGRAM_ENUMERATION("WebRTC.AudioOutputFramesPerBuffer",
source_params.frames_per_buffer(),
kUnexpectedAudioBufferSize);

Powered by Google App Engine
This is Rietveld 408576698