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

Unified Diff: content/renderer/media/webrtc_audio_device_impl.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
« no previous file with comments | « no previous file | content/renderer/media/webrtc_audio_device_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webrtc_audio_device_impl.h
===================================================================
--- content/renderer/media/webrtc_audio_device_impl.h (revision 275847)
+++ content/renderer/media/webrtc_audio_device_impl.h (working copy)
@@ -189,7 +189,8 @@
// Callback to get the rendered data.
virtual void RenderData(media::AudioBus* audio_bus,
int sample_rate,
- int audio_delay_milliseconds) = 0;
+ int audio_delay_milliseconds,
+ base::TimeDelta* current_time) = 0;
// Callback to notify the client that the renderer is going away.
virtual void RemoveAudioRenderer(WebRtcAudioRenderer* renderer) = 0;
@@ -390,7 +391,8 @@
// Called on the AudioOutputDevice worker thread.
virtual void RenderData(media::AudioBus* audio_bus,
int sample_rate,
- int audio_delay_milliseconds) OVERRIDE;
+ int audio_delay_milliseconds,
+ base::TimeDelta* current_time) OVERRIDE;
// Called on the main render thread.
virtual void RemoveAudioRenderer(WebRtcAudioRenderer* renderer) OVERRIDE;
« no previous file with comments | « no previous file | content/renderer/media/webrtc_audio_device_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698