Browse
 
Tools
Rss Categories

LV_SRE_StreamStop

Reference Number: AA-00735 Views: 7654 0 Rating/ Voters

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

Function

  • int LV_SRE_StreamStop(HPORT hport)

Parameters

hport

The port's handle.

Return Values

LV_SUCCESS

No errors; stream stopped correctly.

LV_INVALID_HPORT

The input hport is not a valid one.

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