saiAsrSetSpeechCompleteTimeout

Specifies the length of time that the recognizer waits before declaring a match when there is a complete match of an active grammar.

Prototype

DWORD saiAsrSetSpeechCompleteTimeout ( SAI_RECOGNIZER_HANDLE recogHd, DWORD value )

Argument

Description

recogHd

Handle associated with a recognizer resource.

value

Timeout interval size in ms.


Return values

Return value

Description

SUCCESS

 

SAIERR_INVALID_PARAMETER

One of the specified arguments is invalid.

SAIERR_UNSUPPORTED_SPEECH_PARAMETER

Recognizer engine does not support the specified parameter.


Details

saiAsrSetSpeechCompleteTimeout specifies the length of the interval of silence that a recognizer waits before finalizing a result and either accepting the result or returning a no-match event.

See also

saiAsrGetSpeechCompleteTimeout