Cancels the stream and discards any sound data.
int LV_SRE_StreamCancel(HPORT hport);
LV_SUCCESS
No errors; stream destroyed successfully.
A negative result indicates a specific error:
-1: LV_FAILURE: Currently not streaming; possibly StreamStart was not called.
-12: LV_INVALID_HPORT: Invalid handle.
HPort
The port's handle.
Cancels the stream. Used in case a WaitForDecode function is not terminating or if end of speech has not been detected. This readies the port to start a new stream, if StreamStart is called.
Complete Help Topic List | Speech Engine Product Information