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

Unified Diff: content/common/media/audio_messages.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/common/media/audio_messages.h
diff --git a/content/common/media/audio_messages.h b/content/common/media/audio_messages.h
index 773b16c821860fdb6c8947e07fa496a72864b489..1fed2874859ad47b4607164e94ff5896d2ff993e 100644
--- a/content/common/media/audio_messages.h
+++ b/content/common/media/audio_messages.h
@@ -71,6 +71,12 @@ IPC_MESSAGE_CONTROL1(AudioMsg_NotifyStreamError, int /* stream id */)
// Notification message sent from browser to renderer for state update.
IPC_MESSAGE_CONTROL1(AudioInputMsg_NotifyStreamError, int /* stream id */)
+// Notification message sent from browser to renderer when stream mutes or
+// unmutes.
+IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamMuted,
+ int /* stream id */,
+ bool /* is muted? */)
+
// Messages sent from the renderer to the browser.
// Message sent to the browser to request the use of an audio output
« no previous file with comments | « content/browser/speech/speech_recognizer_impl.h ('k') | content/renderer/media/audio_input_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698