Browse
 
Tools
Rss Categories

LVSpeechPort::StreamStop

Reference Number: AA-00824 Views: 2491 0 Rating/ Voters

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

Function

  • int StreamStop(void)

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 occurred 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