Index: media/audio/audio_output_stream_sink.cc |
diff --git a/media/audio/audio_output_stream_sink.cc b/media/audio/audio_output_stream_sink.cc |
index b94e2d265847d33f2a93cab9dc3e8a90a7cbd140..73dd9f775c3fce45d1fd9138b073512006ef6cc6 100644 |
--- a/media/audio/audio_output_stream_sink.cc |
+++ b/media/audio/audio_output_stream_sink.cc |
@@ -84,7 +84,8 @@ bool AudioOutputStreamSink::CurrentThreadIsRenderingThread() { |
int AudioOutputStreamSink::OnMoreData(AudioBus* dest, |
uint32_t total_bytes_delay, |
- uint32_t frames_skipped) { |
+ uint32_t frames_skipped, |
+ const AudioTimestamp& timestamp) { |
// Note: Runs on the audio thread created by the OS. |
base::AutoLock al(callback_lock_); |
if (!active_render_callback_) |
@@ -93,7 +94,8 @@ int AudioOutputStreamSink::OnMoreData(AudioBus* dest, |
uint32_t frames_delayed = std::round(static_cast<double>(total_bytes_delay) / |
active_params_.GetBytesPerFrame()); |
- return active_render_callback_->Render(dest, frames_delayed, frames_skipped); |
+ return active_render_callback_->Render(dest, frames_delayed, frames_skipped, |
+ timestamp); |
} |
void AudioOutputStreamSink::OnError(AudioOutputStream* stream) { |