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

Issue 382633005: Use AudioClock to determine when audio playback has ended. (Closed)

Created:
6 years, 5 months ago by scherkus (not reviewing)
Modified:
6 years, 5 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Use AudioClock to determine when audio playback has ended. The old mechanism of estimating the wall clock time isn't as accurate as the frame-level information tracked inside AudioClock. For example, AudioClock properly handles situations where the playback rate changes over time. BUG=370634 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282376

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -54 lines) Patch
M media/filters/audio_renderer_impl.h View 2 chunks +0 lines, -22 lines 2 comments Download
M media/filters/audio_renderer_impl.cc View 7 chunks +3 lines, -32 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
scherkus (not reviewing)
I'm still doing a bunch of manual testing, but wanted to gather your thoughts. So ...
6 years, 5 months ago (2014-07-10 00:33:44 UTC) #1
DaleCurtis
\o/ Love it! I was hoping you could do this when you first brought up ...
6 years, 5 months ago (2014-07-10 01:44:06 UTC) #2
DaleCurtis
lgtm
6 years, 5 months ago (2014-07-10 01:44:13 UTC) #3
scherkus (not reviewing)
thanks for the review! yeah I've tested as much as I can on mac and ...
6 years, 5 months ago (2014-07-10 16:21:16 UTC) #4
scherkus (not reviewing)
The CQ bit was checked by scherkus@chromium.org
6 years, 5 months ago (2014-07-10 16:21:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/382633005/1
6 years, 5 months ago (2014-07-10 16:23:41 UTC) #6
commit-bot: I haz the power
Change committed as 282376
6 years, 5 months ago (2014-07-10 17:54:47 UTC) #7
DaleCurtis
6 years, 5 months ago (2014-07-10 19:01:38 UTC) #8
Message was sent while issue was closed.
Awesome, for clarity: I muddled what I was originally trying to say:  The
initial playback delay impacts the loop delay, because the total loop time
includes the initial playback delay.

I.e., we start the measurement timer on playing, but nothing actually gets
played until we've exhausted the initial playback delay.  As such we always end
up with a loop time dominated by the initial delay when it's large.

Powered by Google App Engine
This is Rietveld 408576698