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

Unified Diff: content/renderer/media/media_stream_audio_processor_options.cc

Issue 200223002: Increase the time window to 1 second for Typing Detection (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_audio_processor_options.cc
diff --git a/content/renderer/media/media_stream_audio_processor_options.cc b/content/renderer/media/media_stream_audio_processor_options.cc
index 12338e227e77a17bb5798fb7300ea47705823580..320d1a6ba31d8296160a2a67b1c07523aa4d12ef 100644
--- a/content/renderer/media/media_stream_audio_processor_options.cc
+++ b/content/renderer/media/media_stream_audio_processor_options.cc
@@ -134,8 +134,8 @@ void EnableTypingDetection(AudioProcessing* audio_processing,
webrtc::VoiceDetection::kVeryLowLikelihood);
CHECK_EQ(err, 0);
- // Configure the update period to 100ms (10 * 10ms) in the typing detector.
- typing_detector->SetParameters(0, 0, 0, 0, 0, 10);
+ // Configure the update period to 1s (100 * 10ms) in the typing detector.
+ typing_detector->SetParameters(0, 0, 0, 0, 0, 100);
}
void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698