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

Unified Diff: media/base/silent_sink_suspender.h

Issue 2567143002: media::SilentSinkSuspender should simulate |delay| and |delay_timestamp| (Closed)
Patch Set: build fix content_unittets & media_blink_unittsests Created 3 years, 11 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/fake_audio_render_callback.cc ('k') | media/base/silent_sink_suspender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/silent_sink_suspender.h
diff --git a/media/base/silent_sink_suspender.h b/media/base/silent_sink_suspender.h
index 82da971a49e8e2a92e7eaa74b5354f660f444676..5fad2217bd841db3ee19864c2019df2affbc0ba9 100644
--- a/media/base/silent_sink_suspender.h
+++ b/media/base/silent_sink_suspender.h
@@ -103,6 +103,14 @@ class MEDIA_EXPORT SilentSinkSuspender
// on Android to save battery consumption.
base::CancelableCallback<void(bool)> sink_transition_callback_;
+ // Audio output delay at the moment when transition to |fake_sink_| starts.
+ base::TimeDelta latest_output_delay_;
+ // Audio output delay timestamp at the moment when transition to |fake_sink_|
+ // starts.
+ base::TimeTicks latest_output_delay_timestamp_;
+ // Time when transition to |fake_sink_| starts.
+ base::TimeTicks fake_sink_transition_time_;
+
DISALLOW_COPY_AND_ASSIGN(SilentSinkSuspender);
};
« no previous file with comments | « media/base/fake_audio_render_callback.cc ('k') | media/base/silent_sink_suspender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698