- Installation
- Administration
- Programmer's Guide
- Grammars
- MRCP Server
- FAQs
Cancels the stream and discards any sound data.
int LV_SRE_StreamCancel(HPORT hport);
hport
The port's handle.
LV_SUCCESS
No errors - stream destroyed successfully.
LV_FAILURE
The operation failed becasue the port was shutting down.
LV_INVALID_HPORT
The input hport is not a valid one.
LV_EXCEPTION
An exception occured while processing the request.
Cancels the stream. Used in case a LV_SRE_WaitForDecode function is not terminating or if end of speech has not been detected. This readies the port to start a new stream, if LV_SRE_StreamStart is called.