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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 1695303002: Adds Media.Audio.InputDevicePropertyChangedMac UMA stat on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final round Created 4 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:
Download patch
« no previous file with comments | « media/audio/mac/audio_low_latency_input_mac.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index e07d2185a62c87bcea31a6a70b4f1f495bd0be58..4e9ee7ed7f75bb0babed4effd406d3e368a3c26d 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -18932,6 +18932,27 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Media.Audio.InputDevicePropertyChangedMac"
+ enum="AudioDevicePropertyResult">
+ <owner>henrika@chromium.org</owner>
+ <summary>
+ Lists device properties that have been changed during an audio input stream
+ session. We update a map of different property changes during a session and
+ all these values are recorded when an AUAudioInputStream object is closed,
+ hence multiple enum values can be emitted when the histogram is stored.
+ </summary>
+</histogram>
+
+<histogram name="Media.Audio.InputDevicePropertyChangedStartupFailedMac"
+ enum="AudioDevicePropertyResult">
+ <owner>henrika@chromium.org</owner>
+ <summary>
+ Lists device properties that have been changed during an audio input stream
+ session. Only sampled when Media.Audio.InputStartupSuccessMac reports
+ 'Failure' and multiple enum values can be emitted each time that happens.
+ </summary>
+</histogram>
+
<histogram name="Media.Audio.InputStartupSuccessMac" enum="BooleanSuccess">
<owner>henrika@chromium.org</owner>
<summary>
@@ -58380,6 +58401,22 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="16" label="kCodecAC3"/>
</enum>
+<enum name="AudioDevicePropertyResult" type="int">
+ <int value="0" label="Other"/>
+ <int value="1" label="Device has changed"/>
+ <int value="2" label="IO stopped abnormally"/>
+ <int value="3" label="Hog mode"/>
+ <int value="4" label="Bufer frame size"/>
+ <int value="5" label="Buffer frame size range"/>
+ <int value="6" label="Stream configuration"/>
+ <int value="7" label="Actual sample rate"/>
+ <int value="8" label="Nominal sample rate"/>
+ <int value="9" label="Device is running somewhere"/>
+ <int value="10" label="Device is running"/>
+ <int value="11" label="Device is alive"/>
+ <int value="12" label="Stream physical format"/>
+</enum>
+
<enum name="AudioFramesPerBuffer" type="int">
<int value="0" label="k160"/>
<int value="1" label="k320"/>
« no previous file with comments | « media/audio/mac/audio_low_latency_input_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698