Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: content/renderer/media/media_stream_audio_source.cc

Issue 2919793002: Detect AudioInputStream muting and propagate to MediaStreamAudioSource. (Closed)
Patch Set: Implemented tests, addressed comments. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..19ea853e9727902b227536ea5badf5efc3feadc6 100644
--- a/content/renderer/media/media_stream_audio_source.cc
+++ b/content/renderer/media/media_stream_audio_source.cc
@@ -147,4 +147,10 @@ void MediaStreamAudioSource::StopSourceOnError(const std::string& why) {
FROM_HERE, base::Bind(&MediaStreamSource::StopSource, GetWeakPtr()));
}
+void MediaStreamAudioSource::SetMutedState(bool muted_state) {
+ // TODO(ossu): Propagate this muted state into blink.
ossu-chromium 2017/06/14 17:19:44 This is done in the final CL of the set.
+ DVLOG(3) << "MediaStreamAudioSource::SetMutedState state=" << muted_state
+ << " (not implemented)";
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698