LV_SRE_StreamStop

Stops a stream and loads sound channel with streamed data.

int LV_SRE_StreamStop(HPORT hport);

Return Values

LV_SUCCESS

No errors; stream stopped correctly.

A negative result indicates a specific error:

-1: LV_FAILURE: Stop is not a valid operation. It is possible the stream never started or has already stopped.

-12: LV_INVALID_HPORT: Invalid handle.

Parameters

HPort

The port's handle.

Remarks

This function ends streaming and puts streamed data into the voice channel defined with the STREAM_PARM_VOICE_CHANNEL parameter. If the STREAM_PARM_AUTO_DECODE parameter is active, the decode will begin (non-blocking) when this function is called.

See Also


Complete Help Topic List | Speech Engine Product Information