Chromium Code Reviews| Index: content/renderer/media/media_stream_audio_source.cc |
| diff --git a/content/renderer/media/media_stream_audio_source.cc b/content/renderer/media/media_stream_audio_source.cc |
| index be556185ada9f1330dc8cd2194445dca4822803e..649ea15f919f523f2cefe905dbe0650a7f07bac1 100644 |
| --- a/content/renderer/media/media_stream_audio_source.cc |
| +++ b/content/renderer/media/media_stream_audio_source.cc |
| @@ -147,4 +147,11 @@ void MediaStreamAudioSource::StopSourceOnError(const std::string& why) { |
| FROM_HERE, base::Bind(&MediaStreamSource::StopSource, GetWeakPtr())); |
| } |
| +void MediaStreamAudioSource::SetMutedState(bool muted_state) { |
| + DVLOG(3) << "MediaStreamAudioSource::SetMutedState state=" << muted_state; |
| + task_runner_->PostTask( |
| + FROM_HERE, base::Bind(&MediaStreamSource::SetSourceMuted, GetWeakPtr(), |
|
ossu-chromium
2017/06/01 15:56:59
I've put SetSourceMuted directly in MediaStreamSou
Max Morin
2017/06/02 09:56:04
I think someone with experience in this layer shou
ossu-chromium
2017/06/02 10:47:59
Sounds good. I'll add him!
|
| + muted_state)); |
| +} |
| + |
| } // namespace content |