saiAsrSetVendorSpecific

Specifies a set of vendor-specific recognizer parameters in the local database.

Prototype

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

Argument

Description

recogHd

Handle associated with a recognizer resource.

vp

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

count

Number of vendor specific parameters to specify. This value indicates 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 saiAsrAddVendorSpecific and retrieve the specified values from the server with saiSetParamRecognizer.

See also

saiAsrGetVendorSpecific