saiAsrAddVendorSpecific

Adds vendor-specific recognizer parameters to the local database.

Prototype

DWORD saiAsrAddVendorSpecific ( SAI_RECOGNIZER_HANDLE recogHd, SAI_VENDOR_SPECIFIC vp[], DWORD count )

Argument

Description

recogHd

Handle associated with a recognizer resource.

vp

Pointer to an 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 saiAsrAddVendorSpecific. These settings are not transferred to the speech server until the application calls saiSetParamRecognizer.

See also

saiAsrGetVendorSpecific, saiAsrSetVendorSpecific