SR_AcousticState Struct Reference
[SR_AcousticState API functions]


Detailed Description

Contains Acoustic state information.

Data Fields

ESR_ReturnCode(* reset )(SR_Recognizer *recognizer)
ESR_ReturnCode(* load )(SR_Recognizer *recognizer, const LCHAR *filename)
ESR_ReturnCode(* save )(SR_Recognizer *recognizer, const LCHAR *filename)
ESR_ReturnCode(* get )(SR_Recognizer *recognizer, const LCHAR **param_string)
ESR_ReturnCode(* set )(SR_Recognizer *recognizer, const LCHAR *param_string)
ESR_ReturnCode(* destroy )(SR_Recognizer *recognizer)

Field Documentation

ESR_ReturnCode(* SR_AcousticState::reset)(SR_Recognizer *recognizer)

Resets the acoustic state object. The recognizer adapts to the acoustic state of the caller and calling environment during a call in order to improve recognition accuracy. The platform must reset the AcousticState either at the beginning of a new call or at the end of a call in order to reset acoustic state information for a new caller.

Parameters:
recognizer SR_Recognizer handle
Returns:
ESR_INVALID_ARGUMENT if recognizer is null

ESR_ReturnCode(* SR_AcousticState::load)(SR_Recognizer *recognizer, const LCHAR *filename)

Loads an AcousticState from file.

Parameters:
recognizer SR_Recognizer handle
file File to read from
Returns:
ESR_INVALID_ARGUMENT if recognizer is null

ESR_ReturnCode(* SR_AcousticState::save)(SR_Recognizer *recognizer, const LCHAR *filename)

Saves an AcousticState to a file.

Parameters:
recognizer SR_Recognizer handle
file File to write into
Returns:
ESR_INVALID_ARGUMENT if recognizer is null

ESR_ReturnCode(* SR_AcousticState::get)(SR_Recognizer *recognizer, const LCHAR **param_string)

Gets an AcousticState into a string.

Parameters:
recognizer SR_Recognizer handle
param_string contains data from the recognizer
Returns:
ESR_INVALID_ARGUMENT if recognizer is null

ESR_ReturnCode(* SR_AcousticState::set)(SR_Recognizer *recognizer, const LCHAR *param_string)

Sets an AcousticState from a string.

Parameters:
recognizer SR_Recognizer handle
param_string contains data to set
Returns:
ESR_INVALID_ARGUMENT if recognizer is null

ESR_ReturnCode(* SR_AcousticState::destroy)(SR_Recognizer *recognizer)

Destrroys the acoustic state of a recognizer

Parameters:
recognizer SR_Recognizer handle
Returns:
ESR_INVALID_ARGUMENT if recognizer is null


Generated on Thu May 1 15:37:28 2008 for SREC by  doxygen 1.5.3