summaryrefslogtreecommitdiffstats
path: root/media/audio/win/audio_low_latency_output_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/audio/win/audio_low_latency_output_win.cc')
-rw-r--r--media/audio/win/audio_low_latency_output_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/audio/win/audio_low_latency_output_win.cc b/media/audio/win/audio_low_latency_output_win.cc
index 829d18f..9ead48a 100644
--- a/media/audio/win/audio_low_latency_output_win.cc
+++ b/media/audio/win/audio_low_latency_output_win.cc
@@ -532,8 +532,8 @@ bool WASAPIAudioOutputStream::RenderAudioFromSource(UINT64 device_frequency) {
// Read a data packet from the registered client source and
// deliver a delay estimate in the same callback to the client.
- int frames_filled = source_->OnMoreData(
- audio_bus_.get(), audio_delay_bytes);
+ int frames_filled =
+ source_->OnMoreData(audio_bus_.get(), audio_delay_bytes, 0);
uint32 num_filled_bytes = frames_filled * format_.Format.nBlockAlign;
DCHECK_LE(num_filled_bytes, packet_size_bytes_);