Browse
 
Tools
Rss Categories

LVSpeechPort::StreamGetParameter

Reference Number: AA-00817 Views: 7819 0 Rating/ Voters

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 10.5
Note that in version 10.5, this parameter changed from an int to a const char *, which was to optimize the code internally. This should have minimal effect on users, except to require a recompilation of any code linking to the API when making this transition. Specifically, the defines that can be used in this parameter value were changed in the definition to accommodate this.

StreamParameterValue

A container to hold the current value of the Property.

Return Values

LV_SUCCESS

No Errors and the value was stored in StreamParameterValue.

LV_INVALID_PROPERTY

The specified parameter does not exist.

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.

See Also