| Index: media/audio/audio_input_device.cc
|
| diff --git a/media/audio/audio_input_device.cc b/media/audio/audio_input_device.cc
|
| index 66966381cdcc46ab9f264d3ac2db7ad854bf4d90..eb31a5723ff53594e1210cbecfa4e74274a38e26 100644
|
| --- a/media/audio/audio_input_device.cc
|
| +++ b/media/audio/audio_input_device.cc
|
| @@ -225,6 +225,14 @@ void AudioInputDevice::OnError() {
|
| }
|
| }
|
|
|
| +void AudioInputDevice::OnMuted(bool is_muted) {
|
| + DCHECK(task_runner()->BelongsToCurrentThread());
|
| + // Do nothing if the stream has been closed.
|
| + if (state_ < CREATING_STREAM)
|
| + return;
|
| + callback_->OnCaptureMuted(is_muted);
|
| +}
|
| +
|
| void AudioInputDevice::OnIPCClosed() {
|
| DCHECK(task_runner()->BelongsToCurrentThread());
|
| state_ = IPC_CLOSED;
|
|
|