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

Unified Diff: content/browser/renderer_host/media/audio_input_renderer_host.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 | « no previous file | content/browser/renderer_host/media/audio_input_renderer_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/audio_input_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_input_renderer_host.h b/content/browser/renderer_host/media/audio_input_renderer_host.h
index d9a2d0a647197a01036f4c4a1fccb01c0d000114..47682e3195de96510127c3e98048eb56cd8f426d 100644
--- a/content/browser/renderer_host/media/audio_input_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_input_renderer_host.h
@@ -115,6 +115,7 @@ class CONTENT_EXPORT AudioInputRendererHost
media::AudioInputController::ErrorCode error_code) override;
void OnLog(media::AudioInputController* controller,
const std::string& message) override;
+ void OnMuted(media::AudioInputController* controller, bool is_muted) override;
// Sets the PID renderer. This is used for constructing the debug recording
// filename.
@@ -177,6 +178,10 @@ class CONTENT_EXPORT AudioInputRendererHost
void DoLog(media::AudioInputController* controller,
const std::string& message);
+ // Notify renderer of a change to a stream's muted state.
+ void DoNotifyMutedState(media::AudioInputController* controller,
+ bool is_muted);
+
// Send an error message to the renderer.
void SendErrorMessage(int stream_id, ErrorCode error_code);
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_input_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698