Specifies whether or not the synthesizer can optimize speech by pre-fetching audio.
DWORD saiTtsSetAudioFetchHint ( SAI_SYNTHESIZER_HANDLE synthHd, SAI_AUDIO_FETCH_HINT hint )
|
Argument |
Description |
|
synthHd |
Handle associated with a synthesizer resource. |
|
hint |
Value that specifies if the synthesizer can attempt to optimize speech by pre-fetching audio. Allowed values are:
|
|
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. |