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:
parent
770c7ce488
commit
ad1927d368
@ -1154,11 +1154,11 @@ int VoEAudioProcessingImpl::SetTypingDetectionStatus(bool enable)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (_audioProcessingModulePtr->voice_detection()->set_likelihood(
|
if (_audioProcessingModulePtr->voice_detection()->set_likelihood(
|
||||||
VoiceDetection::kHighLikelihood))
|
VoiceDetection::kVeryLowLikelihood))
|
||||||
{
|
{
|
||||||
_engineStatistics.SetLastError(
|
_engineStatistics.SetLastError(
|
||||||
VE_APM_ERROR, kTraceWarning,
|
VE_APM_ERROR, kTraceWarning,
|
||||||
"SetTypingDetectionStatus() failed to set VAD likelihood to high");
|
"SetTypingDetectionStatus() failed to set VAD likelihood to low");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user