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

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: moves media-time clamping to PipelineImpl 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
« no previous file with comments | « media/base/pipeline_impl_unittest.cc ('k') | media/base/time_delta_interpolator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/time_delta_interpolator.h
diff --git a/media/base/time_delta_interpolator.h b/media/base/time_delta_interpolator.h
index 6f1c6b309cc37f8b8011c5c2347c8b86983609c3..a2e306402c98ec7799aeac493d09796c2c818924 100644
--- a/media/base/time_delta_interpolator.h
+++ b/media/base/time_delta_interpolator.h
@@ -50,7 +50,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);
// 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
« no previous file with comments | « media/base/pipeline_impl_unittest.cc ('k') | media/base/time_delta_interpolator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698