LVSpeechPort::StreamCancel

Cancels the stream and discards any sound data.

int StreamCancel(void);

Return Values

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.

Parameters

None.

Remarks

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.

See Also


Complete Help Topic List | Speech Engine Product Information