Changing the typing detection sensitivity as the current

setting does not work well in some scenarios especially
using webcams with built-in microphones.
Review URL: https://webrtc-codereview.appspot.com/349009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1455 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
punyabrata@webrtc.org 2012-01-18 18:53:04 +00:00
parent 770c7ce488
commit ad1927d368

View File

@ -1154,11 +1154,11 @@ int VoEAudioProcessingImpl::SetTypingDetectionStatus(bool enable)
return -1;
}
if (_audioProcessingModulePtr->voice_detection()->set_likelihood(
VoiceDetection::kHighLikelihood))
VoiceDetection::kVeryLowLikelihood))
{
_engineStatistics.SetLastError(
VE_APM_ERROR, kTraceWarning,
"SetTypingDetectionStatus() failed to set VAD likelihood to high");
"SetTypingDetectionStatus() failed to set VAD likelihood to low");
return -1;
}