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

Issue 389613005: Update media::AudioClock API to take time since writing into account. (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

Update media::AudioClock API to take time since writing into account. AudioRendererImpl will continue to function as it does today since it always calls CurrentMediaTimestamp() inside the audio callback, hence the time since writing is always zero. When TimeDeltaInterpolator gets replaced by AudioRendererImpl as the master clock inside Pipeline, we'll need a method for determining the current media timestamp at any point in time to provide good video synchronization that isn't affected by what the audio callback buffer size is. BUG=370634 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283353

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -13 lines) Patch
M media/filters/audio_clock.h View 1 chunk +5 lines, -1 line 1 comment Download
M media/filters/audio_clock.cc View 1 chunk +16 lines, -4 lines 0 comments Download
M media/filters/audio_clock_unittest.cc View 3 chunks +48 lines, -2 lines 0 comments Download
M media/filters/audio_renderer_impl.cc View 3 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
scherkus (not reviewing)
this would also help https://codereview.chromium.org/384543002/ to handle the case where the posted task takes a ...
6 years, 5 months ago (2014-07-15 01:29:57 UTC) #1
DaleCurtis
I also don't follow how this might help if the PostTask takes a while. In ...
6 years, 5 months ago (2014-07-15 18:13:15 UTC) #2
scherkus (not reviewing)
On 2014/07/15 18:13:15, DaleCurtis wrote: > I also don't follow how this might help if ...
6 years, 5 months ago (2014-07-15 18:53:14 UTC) #3
DaleCurtis
Ah, makes sense now. lgtm
6 years, 5 months ago (2014-07-15 19:24:24 UTC) #4
scherkus (not reviewing)
The CQ bit was checked by scherkus@chromium.org
6 years, 5 months ago (2014-07-15 20:06:33 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/389613005/1
6 years, 5 months ago (2014-07-15 20:08:24 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 00:52:29 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 05:17:26 UTC) #8
Message was sent while issue was closed.
Change committed as 283353

Powered by Google App Engine
This is Rietveld 408576698