summaryrefslogtreecommitdiffstats
path: root/media/audio/fake_audio_output_stream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/audio/fake_audio_output_stream.cc')
-rw-r--r--media/audio/fake_audio_output_stream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/fake_audio_output_stream.cc b/media/audio/fake_audio_output_stream.cc
index 6eb5417..af69a2f 100644
--- a/media/audio/fake_audio_output_stream.cc
+++ b/media/audio/fake_audio_output_stream.cc
@@ -33,7 +33,7 @@ bool FakeAudioOutputStream::Open(size_t packet_size) {
void FakeAudioOutputStream::Start(AudioSourceCallback* callback) {
callback_ = callback;
memset(buffer_.get(), 0, packet_size_);
- callback_->OnMoreData(this, buffer_.get(), packet_size_);
+ callback_->OnMoreData(this, buffer_.get(), packet_size_, 0);
}
void FakeAudioOutputStream::Stop() {