# saiAsrSetNoInputTimeout

Specifies the length of time (no-input-timeout interval) that the recognizer waits before terminating a recognition request when no speech is detected.

#### Prototype

DWORD saiAsrSetNoInputTimeout ( SAI_RECOGNIZER_HANDLE recogHd, DWORD value )

Argument | Description
recogHd | Handle associated with a recognizer resource.
value | No-input timeout interval size in ms. The value can range from 0 to MAXTIMEOUT, where MAXTIMEOUT is a recognizer-specific value. For information about supported values, refer to the speech vendor documentation.

#### 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

When recognition starts and no speech is detected for a particular interval, the recognizer sends SAIEVN_ASR_RECOGNITION_DONE to the application and terminates the recognition operation. The SAI service returns SAI_RCC_INPUT_TIMEOUT in the completionCause field of the SAIEVN_ASR_RECOGNITION_DONE event buffer.

#### See also

saiAsrGetNoInputTimeout