Index: media/base/fake_audio_renderer_sink.cc |
diff --git a/media/base/fake_audio_renderer_sink.cc b/media/base/fake_audio_renderer_sink.cc |
index f21eb71c2b9bb8e7215382a97d179e2e4886e753..aec032508585d26c5677bf2084c235213c4ef3d7 100644 |
--- a/media/base/fake_audio_renderer_sink.cc |
+++ b/media/base/fake_audio_renderer_sink.cc |
@@ -75,12 +75,12 @@ bool FakeAudioRendererSink::CurrentThreadIsRenderingThread() { |
} |
bool FakeAudioRendererSink::Render(AudioBus* dest, |
- uint32_t frames_delayed, |
+ base::TimeDelta delay, |
int* frames_written) { |
if (state_ != kPlaying) |
return false; |
- *frames_written = callback_->Render(dest, frames_delayed, 0); |
+ *frames_written = callback_->Render(delay, base::TimeTicks::Now(), 0, dest); |
return true; |
} |