saiGetParamSynthesizer

Requests synthesizer parameters from the speech server and updates the associated client-side synthesizer resource information.

Prototype

DWORD saiGetParamSynthesizer ( 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 values

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.


Events

Event

Description

SAIEVN_COMMAND_ACK

Request was processed. The result of the request is returned in the statusCode field of the SAIEVN_COMMAND_ACK event buffer.


Details

When the application receives SAIEVN_GET_PARAMETER_DONE, it can retrieve parameters using functions associated with each synthesizer parameter (for example, saiTtsGetKillOnBargeIn or saiTtsGetSpeakerProfile).

See also

saiSetParamSynthesizer