Retrieves a set of vendor-specific recognizer parameters from the local database.
DWORD saiAsrGetVendorSpecific ( SAI_RECOGNIZER_HANDLE recogHd, SAI_VENDOR_SPECIFIC vp[], DWORD count, SAI_VENDOR_SPECIFIC_OUT vpOut[] )
|
Argument |
Description |
|
recogHd |
Handle associated with a recognizer resource. |
|
vp |
Array of vendor-specific parameters to retrieve from the local database. Only the vp[x].vendorSpecificName parameter must be specified. |
|
count |
Number of vendor-specific parameters to retrieve. |
|
vpOut |
Array that specifies where to store retrieved vendor-specific parameters. |
|
Return value |
Description |
|
SUCCESS |
|
|
SAIERR_INVALID_PARAMETER |
One of the specified arguments is invalid. |
|
SAIERR_VENDOR_SPECIFIC_ERROR |
At least one of the specified parameters was not previously added to the local database. |
Before retrieving vendor-specific parameters, the application must add them to the local database with saiAsrAddVendorSpecific and retrieve the specified values from the server with saiGetParamRecognizer.
Note: The vp[] and vpOut[] arrays must be the same size and the number of specified parameters must not exceed the size of vp[] and vpOut[].