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

Unified Diff: content/renderer/media/webrtc_audio_renderer.h

Issue 328493003: Pass the elapsed time from VoE to WebRtcAudioRenderer as the current time for the audio/video eleme… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 6 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: content/renderer/media/webrtc_audio_renderer.h
===================================================================
--- content/renderer/media/webrtc_audio_renderer.h (revision 275847)
+++ content/renderer/media/webrtc_audio_renderer.h (working copy)
@@ -100,6 +100,8 @@
int channels() const { return sink_params_.channels(); }
int sample_rate() const { return sink_params_.sample_rate(); }
+ void SetCurrentRenderTime(const base::TimeDelta& current_time);
+
private:
// MediaStreamAudioRenderer implementation. This is private since we want
// callers to use proxy objects.
@@ -214,6 +216,8 @@
// Delay due to the FIFO in milliseconds.
int fifo_delay_milliseconds_;
+ base::TimeDelta current_time_;
+
// Saved volume and playing state of the root renderer.
PlayingState playing_state_;

Powered by Google App Engine
This is Rietveld 408576698