LVSpeechPort::StreamStop

Stops the stream and loads the sound channel with streamed data.

Function

Parameters

None.

Return Values

LV_SUCCESS

No errors; stream stopped.

LV_INVALID_HPORT

The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call).

LV_FAILURE

The operation failed because the port was shutting down.

LV_EXCEPTION

An exception occured while processing the request.

Remarks

This function ends streaming and puts the 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

© 2012 LumenVox LLC. All rights reserved.