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

Issue 2760243002: Set audio_sync_reader timeout as half buffer duration on ChromeOS (Closed)

Created:
3 years, 9 months ago by cychiang
Modified:
3 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, miu+watch_chromium.org, posciak+watch_chromium.org, xjz+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Set audio_sync_reader timeout as half buffer duration on ChromeOS Set audio_sync_reader timeout as half buffer duration instead of fixed 20ms. When system is too busy and renderer can not prepare enough data, audio_sync_reader will timeout and fill zeros. Chrome replies the fetch request in time so CRAS does not see underrun. User will hear silence instead of annoying pop noise. BUG=b:36119859 TEST=On kevin, play youtube with stressapptest -M 100 -m 6 -s 3600. Hear silence instead of pop noise. Check there is no underrun in CRAS audio thread log. Review-Url: https://codereview.chromium.org/2760243002 Cr-Commit-Position: refs/heads/master@{#460321} Committed: https://chromium.googlesource.com/chromium/src/+/36527589aedb56b1696c30f4b548b9d3a319fdfc

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M content/browser/renderer_host/media/audio_sync_reader.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (5 generated)
cychiang
On 2017/03/21 06:38:46, cychiang wrote: > mailto:cychiang@chromium.org changed reviewers: > + mailto:dalecurtis@chromium.org, mailto:tommi@chromium.org Hi Dale ...
3 years, 9 months ago (2017-03-27 06:35:41 UTC) #3
DaleCurtis
I thought this was already fixed by the thread priorities? I'd be wary about merging ...
3 years, 8 months ago (2017-03-27 18:54:58 UTC) #4
cychiang1
On 2017/03/27 18:54:58, DaleCurtis wrote: > I thought this was already fixed by the thread ...
3 years, 8 months ago (2017-03-28 09:53:09 UTC) #5
DaleCurtis
Okay, so long as you're not planning to merge this back right away this lgtm
3 years, 8 months ago (2017-03-28 17:23:20 UTC) #6
cychiang
On 2017/03/28 17:23:20, DaleCurtis wrote: > Okay, so long as you're not planning to merge ...
3 years, 8 months ago (2017-03-29 06:46:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2760243002/1
3 years, 8 months ago (2017-03-29 06:46:15 UTC) #9
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 07:51:42 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/36527589aedb56b1696c30f4b548...

Powered by Google App Engine
This is Rietveld 408576698