saiAsrGetSpeechCompleteTimeout

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

Prototype

DWORD saiAsrGetSpeechCompleteTimeout ( SAI_RECOGNIZER_HANDLE recogHd, DWORD *value )

Argument

Description

recogHd

Handle associated with a recognizer resource.

value

Pointer to an 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

saiAsrGetSpeechCompleteTimeout retrieves 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

saiAsrSetSpeechCompleteTimeout