Prosody speech processing: API: sm_asr_module_parameters

This function is only in Prosody version 1 (see also the conversion guide for further details).

Prototype Definition

int sm_asr_module_parameters(struct sm_asr_module_parameters_parms *asrp)

Parameters

*asrp
a structure of the following type:
typedef struct sm_asr_module_parameters_parms {
	tSMModuleId module;					/* in */
	SM_ASR_CHARACTERISTICS characteristics;			/* in */
} SM_ASR_MODULE_PARAMETERS_PARMS;

Description

Override firmware default ASR recognition characteristics for module module downloaded with ASR capable firmware. The new characteristics will apply to all future ASR operations on the module started with sm_asr_listen_for() except for those where specific ASR parameters have been explicitly specified.

Fields

module (Only in Prosody version 1)
The module whose characteristics are to be modified.
characteristics (Only in Prosody version 1)
The new characteristics.

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody speech processing API.