SR_AcousticModels Struct Reference
[SR_AcousticModels API functions]


Detailed Description

Acoustic model collection.

Data Fields

ESR_ReturnCode(* destroy )(struct SR_AcousticModels_t *self)
ESR_ReturnCode(* save )(struct SR_AcousticModels_t *self, const LCHAR *filename)
ESR_ReturnCode(* setParameter )(struct SR_AcousticModels_t *self, const LCHAR *key, LCHAR *value)
ESR_ReturnCode(* getParameter )(struct SR_AcousticModels_t *self, const LCHAR *key, LCHAR *value, size_t *len)
ESR_ReturnCode(* getCount )(struct SR_AcousticModels_t *self, size_t *size)
ESR_ReturnCode(* getID )(struct SR_AcousticModels_t *self, size_t index, SR_AcousticModelID *id, size_t *size)
ESR_ReturnCode(* setID )(struct SR_AcousticModels_t *self, size_t index, SR_AcousticModelID *id)
void *(* getArbdata )(struct SR_AcousticModels_t *self)

Field Documentation

ESR_ReturnCode(* SR_AcousticModels::destroy)(struct SR_AcousticModels_t *self)

Destroys an AcousticModel collection.

Parameters:
self SR_AcousticModels handle

ESR_ReturnCode(* SR_AcousticModels::save)(struct SR_AcousticModels_t *self, const LCHAR *filename)

Saves an AcousticModel collection to file.

Parameters:
self SR_AcousticModels handle
filename File to write to

ESR_ReturnCode(* SR_AcousticModels::setParameter)(struct SR_AcousticModels_t *self, const LCHAR *key, LCHAR *value)

Sets AcousticModels parameter, overriding session defaults.

Parameters:
self SR_AcousticModels handle
key Parameter name
value Parameter value

ESR_ReturnCode(* SR_AcousticModels::getParameter)(struct SR_AcousticModels_t *self, const LCHAR *key, LCHAR *value, size_t *len)

Returns AcousticModels parameter value.

Parameters:
self SR_AcousticModels handle
key Parameter name
value [in/out] Parameter value
len [in/out] Length of value argument. If the return code is ESR_BUFFER_OVERFLOW, the required length is returned in this variable.

ESR_ReturnCode(* SR_AcousticModels::getCount)(struct SR_AcousticModels_t *self, size_t *size)

Returns the number of AcousticModels in the collection.

Parameters:
self SR_AcousticModels handle
size The result

ESR_ReturnCode(* SR_AcousticModels::getID)(struct SR_AcousticModels_t *self, size_t index, SR_AcousticModelID *id, size_t *size)

Returns modelID of a component.

Parameters:
self SR_AcousticModels handle
index Index of model within collection (0-based)
id [out] Resulting model ID
size [in/out] Length of id argument. If the return code is ESR_BUFFER_OVERFLOW, the required length is returned in this variable.

ESR_ReturnCode(* SR_AcousticModels::setID)(struct SR_AcousticModels_t *self, size_t index, SR_AcousticModelID *id)

Sets the modelID of a component.

Parameters:
self SR_AcousticModels handle
index Index of model within collection (0-based)
id New model ID

void*(* SR_AcousticModels::getArbdata)(struct SR_AcousticModels_t *self)

Returns the arbdata (CA_Arbdata*) of a component.

Parameters:
self SR_AcousticModels handle


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