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

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: Merge Hresult and D3DHresult, update 'HRESULT' use in a few places to use 'enum' 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') | no next file with comments »
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);
return hr;
}
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698