diff options
Diffstat (limited to 'media/audio/fake_audio_input_stream.cc')
-rw-r--r-- | media/audio/fake_audio_input_stream.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/media/audio/fake_audio_input_stream.cc b/media/audio/fake_audio_input_stream.cc index 0e4bb61..d5ba994 100644 --- a/media/audio/fake_audio_input_stream.cc +++ b/media/audio/fake_audio_input_stream.cc @@ -48,7 +48,7 @@ void FakeAudioInputStream::Start(AudioInputCallback* callback) { void FakeAudioInputStream::DoCallback() { DCHECK(callback_); - callback_->OnData(this, buffer_.get(), buffer_size_, buffer_size_); + callback_->OnData(this, buffer_.get(), buffer_size_, buffer_size_, 0.0); Time now = Time::Now(); base::TimeDelta next_callback_time = @@ -87,3 +87,9 @@ void FakeAudioInputStream::SetVolume(double volume) {} double FakeAudioInputStream::GetVolume() { return 0.0; } + +void FakeAudioInputStream::SetAutomaticGainControl(bool enabled) {} + +bool FakeAudioInputStream::GetAutomaticGainControl() { + return false; +} |