LVInterpretation: Creating, Copying and Releasing

LVInterpretation objects are fully copyable.

Functions

H_SI LVInterpretation_Create(void)

H_SI LVInterpretation_CreateFromCopy(H_SI other_si)

void LVInterpretation_Copy(H_SI hsi, H_SI other_si)

void LVInterpretation_Release(H_SI hsi)

Parameters

hsi

The interpretation handle being copied into, or being released

other_hsi

The interpretaion handle whose contents are being copied.

Remarks

Any new handle given to you via Create or CreateFromCopy must be released.  Also, any handle given to you by the speech port through LV_SRE_CreateInterpretation must be released.

Example

HPORT Port;
H_SI Interp;

//open the port and do a decode
//...
//when the decode is finished,grab an interpretation handle


Interp = LV_SRE_CreateInterpretation(Port, voicechannel, index);

//start using the interpretation data.
//...
//When you are done with it, release it.

LVInterpretation_Release(Interp);
 

See Also

 


Complete Help Topic List | Speech Engine Product Information