Browse
 
Tools
Rss Categories

LVSpeechPort::GetFloatPropertyEx

Reference Number: AA-00766 Views: 7483 0 Rating/ Voters

Gets various properties of float type for a specific port or the client properties used in initializing a new port.

Function

  • int GetFloatPropertyEx(int property, int target, float &pvalue)

Parameters

property

Selects the property whose value needs to be returned. This function can return the property value for Speech Port Properties with Value Type of PROP_EX_VALUE_TYPE_FLOAT_PTR.

target

Specifies whether the property is requested from a single port or from the client. Client values are the default values used when a new port is opened. Legal values are PROP_EX_TARGET_PORT and PROP_EX_TARGET_CLIENT.

pvalue

A float that is set to the property value.

Return Values

LV_SUCCESS

No errors.

LV_FAILURE

The property cannot not be retrieved.

LV_INVALID_HPORT

The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call).

LV_INVALID_PROPERTY_TARGET

The property cannot be retrieved for the specified target.

LV_INVALID_PROPERTY

The property does not exist.

LV_EXCEPTION

An exception occurred while processing the request.

Remarks

From 10.0 to 10.2, the following properties are supported with the following targets:

  • PROP_EX_TARGET_CLIENT
    • None.
  • PROP_EX_TARGET_PORT
    • None.

See Also