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

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

Issue 169803003: Adding typing detection to the APM in chrome. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: move the typing detector to EnableTypingDetection() Created 6 years, 10 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/renderer/media/media_stream_audio_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_audio_processor.h
diff --git a/content/renderer/media/media_stream_audio_processor.h b/content/renderer/media/media_stream_audio_processor.h
index 12c0fc5ac63415a525d6afdeb3a7de79ada8121d..1550fe72de1b00afa8d6f2f68e7da1c2fcfd4775 100644
--- a/content/renderer/media/media_stream_audio_processor.h
+++ b/content/renderer/media/media_stream_audio_processor.h
@@ -26,6 +26,7 @@ class AudioParameters;
namespace webrtc {
class AudioFrame;
+class TypingDetection;
}
namespace content {
@@ -154,6 +155,12 @@ class CONTENT_EXPORT MediaStreamAudioProcessor :
// Flag to enable the stereo channels mirroring.
bool audio_mirroring_;
+
+ // Used by the typing detection.
+ scoped_ptr<webrtc::TypingDetection> typing_detector_;
+
+ // Result from the typing detection.
+ bool typing_detected_;
};
} // namespace content
« no previous file with comments | « no previous file | content/renderer/media/media_stream_audio_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698