# saiTtsGetAudioFetchHint

Retrieves whether or not the synthesizer can optimize speech by pre-fetching audio.

#### Prototype

DWORD saiTtsGetAudioFetchHint ( SAI_SYNTHESIZER_HANDLE synth H d, SAI_AUDIO_FETCH_HINT *hint )

Argument | Description
synthHd | Handle associated with a synthesizer resource.
hint | Pointer to a value that indicates whether the synthesizer can attempt to optimize speech by pre-fetching audio. Allowed values are: SAI_AUDIO_FETCH_HINT_PREFETCH [0]: Permit, but not require the synthesizer to pre-fetch audio. SAI_AUDIO_FETCH_HINT_SAFE [1]: Pre-fetch audio only when needed (not before). SAI_AUDIO_FETCH_HINT_STREAM [2]: Enable the synthesizer to stream any audio fetches.

#### Return values

Return value | Description
SUCCESS |
SAIERR_INVALID_PARAMETER | One of the specified arguments is invalid.
SAIERR_UNSUPPORTED_SPEECH_PARAMETER | Speech engine does not support the specified parameter.

#### See also

saiTtsSetAudioFetchHint