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

Issue 685403002: Add a NOTREACHED and uma stat when the audio callback fails (Closed)

Created:
6 years, 1 month ago by no longer working on chromium
Modified:
6 years, 1 month ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add a NOTREACHED and uma stat when the audio callback fails. It is used to catch problem where the audio fails silently. BUG=428706 Committed: https://crrev.com/07a90a91a98021cd80bd10122dcdd2493d0362d1 Cr-Commit-Position: refs/heads/master@{#302104}

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed the comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M media/audio/mac/audio_low_latency_input_mac.cc View 2 chunks +5 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
no longer working on chromium
Please review. Thanks.
6 years, 1 month ago (2014-10-30 13:38:04 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/685403002/diff/1/media/audio/mac/audio_low_latency_input_mac.cc File media/audio/mac/audio_low_latency_input_mac.cc (right): https://codereview.chromium.org/685403002/diff/1/media/audio/mac/audio_low_latency_input_mac.cc#newcode502 media/audio/mac/audio_low_latency_input_mac.cc:502: NOTREACHED(); Why NOTREACHED()? If it's possible the OS API ...
6 years, 1 month ago (2014-10-30 13:51:09 UTC) #3
no longer working on chromium
https://codereview.chromium.org/685403002/diff/1/media/audio/mac/audio_low_latency_input_mac.cc File media/audio/mac/audio_low_latency_input_mac.cc (right): https://codereview.chromium.org/685403002/diff/1/media/audio/mac/audio_low_latency_input_mac.cc#newcode502 media/audio/mac/audio_low_latency_input_mac.cc:502: NOTREACHED(); On 2014/10/30 13:51:09, Alexei Svitkine wrote: > Why ...
6 years, 1 month ago (2014-10-30 13:56:57 UTC) #4
Alexei Svitkine (slow)
lgtm, I guess the NOTREACHED is OK if it's temporary to help diagnose issues.
6 years, 1 month ago (2014-10-30 13:58:18 UTC) #5
tommi (sloooow) - chröme
lgtm
6 years, 1 month ago (2014-10-30 14:03:16 UTC) #6
no longer working on chromium
On 2014/10/30 14:03:16, tommi wrote: > lgtm Thanks guys.
6 years, 1 month ago (2014-10-30 14:04:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/685403002/20001
6 years, 1 month ago (2014-10-30 14:05:41 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-10-30 17:55:30 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/07a90a91a98021cd80bd10122dcdd2493d0362d1 Cr-Commit-Position: refs/heads/master@{#302104}
6 years, 1 month ago (2014-10-30 17:56:02 UTC) #11
DaleCurtis
This stat has no balancing factory, so we can't determine what percentages of clients are ...
6 years, 1 month ago (2014-10-30 23:24:53 UTC) #13
Alexei Svitkine (slow)
Good point. Maybe log the call's result even on success? On Thu, Oct 30, 2014 ...
6 years, 1 month ago (2014-10-31 12:42:39 UTC) #14
DaleCurtis
Yeah, this is high frequency though, up to every ~2ms, so it may be better ...
6 years, 1 month ago (2014-10-31 18:12:52 UTC) #15
tommi (sloooow) - chröme
The goal was to know what errors are the most common. We have other stats ...
6 years, 1 month ago (2014-10-31 18:51:55 UTC) #16
no longer working on chromium
6 years, 1 month ago (2014-10-31 20:55:44 UTC) #17
Message was sent while issue was closed.
I agree with Tommi that the goal is to understand which errors we run into, and
for the long term, we should put a CHECK there after making sure it won't fail
any more.

Powered by Google App Engine
This is Rietveld 408576698