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

Unified Diff: media/base/time_delta_interpolator.h

Issue 2239243002: Interpolate media time for mojo rendering pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/base/time_delta_interpolator.h
diff --git a/media/base/time_delta_interpolator.h b/media/base/time_delta_interpolator.h
index 75f355f326f87004ffb1a1293e3ebe1ecd33c899..bffcd5cbb46a478f03f8976f86a39ffeca275954 100644
--- a/media/base/time_delta_interpolator.h
+++ b/media/base/time_delta_interpolator.h
@@ -49,7 +49,9 @@ class MEDIA_EXPORT TimeDeltaInterpolator {
//
// |upper_bound| is typically the media timestamp of the last audio frame
// buffered by the audio hardware.
- void SetBounds(base::TimeDelta lower_bound, base::TimeDelta upper_bound);
+ void SetBounds(base::TimeDelta lower_bound,
+ base::TimeDelta upper_bound,
+ base::TimeTicks capture_time);
alokp 2016/09/02 22:51:17 Added to avoid calling TimeTicks::Now multiple tim
// Sets the upper bound used for interpolation. Note that if |upper_bound| is
// less than what was previously set via SetTime(), then all future calls

Powered by Google App Engine
This is Rietveld 408576698