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

Unified Diff: content/browser/speech/speech_recognizer_impl.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/browser/speech/speech_recognizer_impl.h
diff --git a/content/browser/speech/speech_recognizer_impl.h b/content/browser/speech/speech_recognizer_impl.h
index 5be62ca5457b1904e63cba3b240b8e4f2a207ad2..4c30dad6d96e269b0908d7e58d00302e0f513f19 100644
--- a/content/browser/speech/speech_recognizer_impl.h
+++ b/content/browser/speech/speech_recognizer_impl.h
@@ -148,6 +148,8 @@ class CONTENT_EXPORT SpeechRecognizerImpl
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 {}
// AudioInputController::SyncWriter methods.
void Write(const media::AudioBus* data,
« no previous file with comments | « content/browser/renderer_host/media/audio_input_renderer_host.cc ('k') | content/common/media/audio_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698