Browse
 
Tools
Rss Categories

API Functions

71 LV_SRE_SetPropertyEx

Sets various properties for a port or the entire client. Function int LV_SRE_SetPropertyEx(HPORT hport, int PropertyName, int ValueType, void* pvalue, int target = PROP_EX_TARGET_PORT, int index = 0) Parameters hport Which port to apply the property to. PropertyName…

72 LV_SRE_Shutdown

Gracefully shuts down the threads related to the client application and performs house keeping such as flushing logs. Function void LV_SRE_Shutdown(void) Parameters None. Return Values None. Remarks This function should be the last API call made after all…

73 LV_SRE_Startup

Initializes the client application. Function void LV_SRE_Startup(void) Parameters None. Return Values None. Remarks This function should be the first API call before any other LV_SRE API calls and needs to be called only one time per application. See Also…

74 LV_SRE_StreamCancel

Cancels the stream and discards any sound data. Function int LV_SRE_StreamCancel(HPORT hport) Parameters hport The port's handle. Return Values LV_SUCCESS No errors - stream destroyed successfully. LV_FAILURE The operation failed because the port was shutting…

75 LV_SRE_StreamGetLength

Returns length of sound data in stream buffer. Function int LV_SRE_StreamGetStatus(HPORT hport) Parameters HPort The port's handle. Return Values Number of bytes in internal buffer for sound stream. The value is the number of seconds in the audio (from 0…

76 LV_SRE_StreamGetParameter

Gets the current value of a stream property. Function int LV_SRE_StreamGetParameter(HPORT hport, const char* StreamParameter, unsigned int* StreamParameterValue) Parameters hport The port's handle. StreamParameter The stream property to view its current value.…

77 LV_SRE_StreamGetStatus

Returns the current status of the stream. Function int LV_SRE_StreamGetStatus(HPORT hport) Parameters hport The port's handle. Return Values Non-negative number No Error. Returns the stream status. See Stream Status for the list of values. LV_INVALID_HPORT…

78 LV_SRE_StreamSendData

Send data buffer of sound data to stream. Function int LV_SRE_StreamSendData(HPORT hport, void* SoundData, int SoundDataLength) Parameters hport The port's handle. SoundData Pointer to the memory buffer containing the sound data. SoundDataLength Size of the…

79 LV_SRE_StreamSetParameter

Sets a new value for a stream property. Function int LV_SRE_StreamSetParameter(HPORT hport, const char* StreamParameter, unsigned int StreamParameterValue) Parameters hport The port's handle. StreamParameter Stream parameter to change. See available Stream…

80 LV_SRE_StreamSetParameterToDefault

Sets a streaming property to its default value. Function int LV_SRE_StreamSetParameterToDefault(HPORT hport, const char* StreamParameter) Parameters hport The port's handle. StreamParameter The stream parameter to reset to default. See available Stream Properties.…