saiTtsAddVendorSpecific

Adds vendor-specific synthesizer parameters to the local database.

Prototype

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

Argument

Description

synthHd

Handle associated with a synthesizer resource.

vp

Array of vendor-specific parameters to add to the local database. Only the vp[x].vendorSpecificName parameter must be specified.

count

Number of vendor-specific parameters to add. This value must not exceed the size of the vp[]).


Return values

Return value

Description

SUCCESS

 

SAIERR_INVALID_PARAMETER

One of the specified arguments is invalid.


Details

Before retrieving or setting vendor-specific parameters, the application must first add them to the local database with saiTtsAddVendorSpecific. These settings are not transferred to the speech server until the application calls saiSetParamSynthesizer.

See also

saiTtsGetVendorSpecific, saiTtsSetVendorSpecific