Browse
 
Tools
Rss Categories

Methods

71 LVSpeechPort::SetPropertyEx

Sets various properties for a port or the entire client. Function static int SetPropertyEx(int property, int value_type, void* pvalue, int target, int ndx) Parameters hport Which port to apply the property to. propertyname Which property to modify. See Speech…

72 LVSpeechPort::Shutdown

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

73 LVSpeechPort::Startup

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

74 LVSpeechPort::StreamCancel

Cancels the stream and discards any sound data. Function int StreamCancel(void) Parameters None. Return Values LV_SUCCESS No errors - stream destroyed successfully. LV_FAILURE The operation failed becasue the port was shutting down. LV_INVALID_PORT The port…

75 LVSpeechPort::StreamGetLength

Returns length of sound data in stream buffer. Function int StreamGetLength(void) Parameters None. Return Values Number of bytes in internal buffer for sound stream. The value is the number of seconds in the audio (from 0 to 30) times the sampling frequency…

76 LVSpeechPort::StreamGetParameter

Gets the current value for a stream property. Function int StreamGetParameter(const char* StreamParameter, unsigned int* StreamParameterValue) Parameters StreamParameter The stream property to view its current value. See available Stream Properties. Version…

77 LVSpeechPort::StreamGetStatus

Returns the current status of the stream. Function int StreamGetStatus(void) Parameters None. Return Values Non-negative number No Error. Returns the stream status. See Stream Status for the list of values. LV_INVALID_HPORT The port is not valid (either CreateClient…

78 LVSpeechPort::StreamSendData

Send data buffer of sound data to stream. Function int StreamSendData(void* SoundData, int SoundDataLength) Parameters SoundData Pointer to the memory buffer containing the sound data. SoundDataLength Size of the sound data, in bytes. Return Values LV_SUCCESS…

79 LVSpeechPort::StreamSetParameter

Sets a new value for a stream property. Function int StreamSetParameter(const char* StreamParameter, unsigned int StreamParameterValue) Parameters StreamParameter Stream parameter to change. See available Stream Properties. Version 10.5 Note that in version…

80 LVSpeechPort::StreamSetParameterToDefault

Sets a streaming property to its default value. Function int StreamSetParameterToDefault(const char* StreamParameter) Parameters StreamParameter Stream parameter to reset. See available Stream Properties. Version 10.5 Note that in version 10.5, this parameter…