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

Issue 51003005: Add AudioOutputController trace events and UMA backed wedge detection. (Closed)

Created:
7 years, 1 month ago by DaleCurtis
Modified:
7 years, 1 month ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Add AudioOutputController trace events and UMA backed wedge detection. More extraction of debug code from my local test build. This adds: - Trace events for easy logging of AudioOutputController actions. - A wedge detection UMA statistic for field monitoring. BUG=160920 TEST=UMA stat is reported correctly when wedged and not. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233034

Patch Set 1 #

Total comments: 16

Patch Set 2 : Comments #

Patch Set 3 : Use scoped_ptr. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -5 lines) Patch
M media/audio/audio_output_controller.h View 1 2 3 chunks +7 lines, -3 lines 0 comments Download
M media/audio/audio_output_controller.cc View 1 2 10 chunks +41 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
DaleCurtis
7 years, 1 month ago (2013-11-01 23:57:17 UTC) #1
jar (doing other things)
I'm OOO this week... and may be slow to respond. +cc Alexei who might comment ...
7 years, 1 month ago (2013-11-04 07:03:42 UTC) #2
DaleCurtis
jar -> cc https://codereview.chromium.org/51003005/diff/1/media/audio/audio_output_controller.cc File media/audio/audio_output_controller.cc (right): https://codereview.chromium.org/51003005/diff/1/media/audio/audio_output_controller.cc#newcode475 media/audio/audio_output_controller.cc:475: "Media.AudioOutputControllerWedgeDetected", wedge_detected_); On 2013/11/04 07:03:43, jar ...
7 years, 1 month ago (2013-11-04 18:57:32 UTC) #3
scherkus (not reviewing)
https://codereview.chromium.org/51003005/diff/1/media/audio/audio_output_controller.cc File media/audio/audio_output_controller.cc (right): https://codereview.chromium.org/51003005/diff/1/media/audio/audio_output_controller.cc#newcode207 media/audio/audio_output_controller.cc:207: // it. Currently, all buffers are less than 42ms, ...
7 years, 1 month ago (2013-11-04 19:05:12 UTC) #4
DaleCurtis
https://codereview.chromium.org/51003005/diff/1/media/audio/audio_output_controller.cc File media/audio/audio_output_controller.cc (right): https://codereview.chromium.org/51003005/diff/1/media/audio/audio_output_controller.cc#newcode207 media/audio/audio_output_controller.cc:207: // it. Currently, all buffers are less than 42ms, ...
7 years, 1 month ago (2013-11-04 21:11:37 UTC) #5
scherkus (not reviewing)
lgtm
7 years, 1 month ago (2013-11-04 21:35:07 UTC) #6
Alexei Svitkine (slow)
https://codereview.chromium.org/51003005/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/51003005/diff/1/tools/metrics/histograms/histograms.xml#newcode5839 tools/metrics/histograms/histograms.xml:5839: + <summary>Whether a wedge was detected during audio playback ...
7 years, 1 month ago (2013-11-04 22:20:24 UTC) #7
DaleCurtis
https://codereview.chromium.org/51003005/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/51003005/diff/1/tools/metrics/histograms/histograms.xml#newcode5839 tools/metrics/histograms/histograms.xml:5839: + <summary>Whether a wedge was detected during audio playback ...
7 years, 1 month ago (2013-11-04 22:23:52 UTC) #8
Alexei Svitkine (slow)
LGTM
7 years, 1 month ago (2013-11-04 22:25:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/51003005/80001
7 years, 1 month ago (2013-11-04 22:47:25 UTC) #10
DaleCurtis
Ack, since AudioOutputController is ref-counted it may not always be destructed on the AudioThread. I've ...
7 years, 1 month ago (2013-11-05 00:02:50 UTC) #11
scherkus (not reviewing)
lgtm
7 years, 1 month ago (2013-11-05 00:22:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/51003005/340001
7 years, 1 month ago (2013-11-05 00:44:42 UTC) #13
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-05 01:34:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/51003005/340001
7 years, 1 month ago (2013-11-05 02:37:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/51003005/340001
7 years, 1 month ago (2013-11-05 03:07:46 UTC) #16
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=97847
7 years, 1 month ago (2013-11-05 12:32:56 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/51003005/340001
7 years, 1 month ago (2013-11-05 18:26:45 UTC) #18
commit-bot: I haz the power
7 years, 1 month ago (2013-11-05 18:32:59 UTC) #19
Message was sent while issue was closed.
Change committed as 233034

Powered by Google App Engine
This is Rietveld 408576698