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

Unified Diff: media/base/fake_audio_render_callback.h

Issue 2437863004: Make more media APIs aware of |delay| and |delay_timestamp| (Closed)
Patch Set: Created 4 years, 2 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/fake_audio_render_callback.h
diff --git a/media/base/fake_audio_render_callback.h b/media/base/fake_audio_render_callback.h
index aad6044bcd337c797885cebe29ed3699708375c6..801a5f2bb41c891d26ea28426697019d3c03a332 100644
--- a/media/base/fake_audio_render_callback.h
+++ b/media/base/fake_audio_render_callback.h
@@ -30,7 +30,8 @@ class FakeAudioRenderCallback
// Renders a sine wave into the provided audio data buffer. If |half_fill_|
// is set, will only fill half the buffer.
int Render(AudioBus* audio_bus,
- uint32_t frames_delayed,
+ base::TimeDelta delay,
+ base::TimeTicks delay_timestamp,
uint32_t frames_skipped) override;
chcunningham 2016/10/21 18:19:47 nit: do you mean to rename this to prior_frames_sk
Mikhail 2016/10/24 19:50:24 Done.
MOCK_METHOD0(OnRenderError, void());

Powered by Google App Engine
This is Rietveld 408576698