saiTtsSetVendorSpecific

Specifies vendor-specific synthesizer parameters for the local database.

Prototype

DWORD saiTtsSetVendorSpecific ( SAI_SYNTHESIZER_HANDLE synthHd, SAI_VENDOR_SPECIFIC vp[], DWORD count )

Argument

Description

synthHd

Handle associated with a synthesizer resource.

vp

Array of vendor-specific parameter values to set in the local database.

count

Number of vendor specific parameters to specify. This value indicates the number of entries in vp[].


Return values

Return value

Description

SUCCESS

 

SAIERR_INVALID_PARAMETER

One of the specified arguments is invalid.

SAIERR_VENDOR_SPECIFIC_ERROR

At least one of the provided parameters was not previously added to the local database.


Details

Before setting vendor-specific parameters, the application must first add them to the local database with saiTtsAddVendorSpecific and retrieve the specified values from the server with saiSetParamSynthesizer.

See also

saiTtsGetVendorSpecific