Resumes a paused synthesizer process.
DWORD saiResumeSynthesizer ( SAI_SYNTHESIZER_HANDLE synthHd, SAI_REQUEST_ID *requestId )
|
Argument |
Description |
|
synthHd |
Handle associated with a synthesizer resource. |
|
requestId |
Pointer to a unique identifier associated with the request. |
|
Return value |
Description |
|
SUCCESS |
|
|
SAIERR_ENGINE_NOT_READY |
Specified synthesizer engine is not ready to handle the request. |
|
SAIERR_INVALID_PARAMETER |
One of the specified arguments is invalid. |
|
Event |
Description |
|
SAIEVN_TTS_RESUME_DONE |
Request was processed. The result of the request is returned in the statusCode field of the SAIEVN_TTS_RESUME_DONE event buffer. |
saiResumeSynthesizer resumes a speech synthesis request that was paused with saiPauseSynthesizer. If the synthesizer engine is not paused when the application invokes saiResumeSynthesizer, the SAI service returns SAI_SC_METHOD_NOT_VALID_IN_THIS_STATE in the statusCode field of the SAIEVN_TTS_RESUME_DONE buffer.
saiControlSynthesizer, saiSpeakSynthesizer, saiStopSynthesizer