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

Unified Diff: content/renderer/media/media_stream_source.h

Issue 2919793002: Detect AudioInputStream muting and propagate to MediaStreamAudioSource. (Closed)
Patch Set: Reworked test again, to make tsan2 happy. 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_source.h
diff --git a/content/renderer/media/media_stream_source.h b/content/renderer/media/media_stream_source.h
index 4ed5f079b8670eec25b66dcfdf161cc056e61eb1..c476ad7c56721a2e3a3ddd0efa5e9187e023202b 100644
--- a/content/renderer/media/media_stream_source.h
+++ b/content/renderer/media/media_stream_source.h
@@ -45,6 +45,9 @@ class CONTENT_EXPORT MediaStreamSource
// WebMediaStreamSource::readyState to ended.
void StopSource();
+ // Sets the source's state to muted or to live.
+ void SetSourceMuted(bool is_muted);
+
// Sets device information about a source that has been created by a
// JavaScript call to GetUserMedia. F.E a camera or microphone.
void SetDeviceInfo(const StreamDeviceInfo& device_info);
« no previous file with comments | « content/renderer/media/media_stream_audio_source.cc ('k') | content/renderer/media/webrtc/processed_local_audio_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698