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

Unified Diff: media/audio/win/audio_low_latency_input_win.cc

Issue 2712483006: Add histogram to track down errors when initializing the audio client. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | tools/metrics/histograms/histograms.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/audio_low_latency_input_win.cc
diff --git a/media/audio/win/audio_low_latency_input_win.cc b/media/audio/win/audio_low_latency_input_win.cc
index 14a2f0d94f83218f5894148a4ba6b4f6b4ba7efb..55839a5084d81905259bedd18c916b5dc1f456d2 100644
--- a/media/audio/win/audio_low_latency_input_win.cc
+++ b/media/audio/win/audio_low_latency_input_win.cc
@@ -715,6 +715,7 @@ HRESULT WASAPIAudioInputStream::InitializeAudioEngine() {
if (FAILED(hr)) {
open_result_ = OPEN_RESULT_AUDIO_CLIENT_INIT_FAILED;
+ UMA_HISTOGRAM_SPARSE_SLOWLY("Media.Audio.Capture.Win.InitError", hr);
henrika (OOO until Aug 14) 2017/02/23 11:20:52 Just FYI. Mac specific stats are callled e.g. Medi
return hr;
}
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698