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

Unified Diff: content/renderer/media/audio_input_message_filter.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
« no previous file with comments | « content/common/media/audio_messages.h ('k') | content/renderer/media/audio_input_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_input_message_filter.h
diff --git a/content/renderer/media/audio_input_message_filter.h b/content/renderer/media/audio_input_message_filter.h
index 4f48bccf2ac56dfbee4287d50c7ea1a8277897ce..60952c97feaf024b4daaca08c84805ad76628da9 100644
--- a/content/renderer/media/audio_input_message_filter.h
+++ b/content/renderer/media/audio_input_message_filter.h
@@ -79,6 +79,9 @@ class CONTENT_EXPORT AudioInputMessageFilter : public IPC::MessageFilter {
// encountered an error.
void OnStreamError(int stream_id);
+ // Received when a stream is muted or unmuted.
+ void OnStreamMuted(int stream_id, bool is_muted);
+
// A map of stream ids to delegates.
IDMap<media::AudioInputIPCDelegate*> delegates_;
« no previous file with comments | « content/common/media/audio_messages.h ('k') | content/renderer/media/audio_input_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698