LVSpeechPort::SetClientPropertyEx

This function is used to .

static int SetClientPropertyEx(int propertyname, int valuetype, void* pvalue);

Return Values

LV_SUCCESS

No errors; property is set to the value pointed to by pvalue.

LV_INVALID_PROPERTY

The property does not exist.

LV_INVALID_PROPERTY_VALUE

The property value is invalid for the designated property (e.g. out of range).

LV_INVALID_PROPERTY_TARGET

The property cannot be set for the specified target.

LV_INVALID_PROPERTY_VALUE_TYPE

The property's type is incompatible with the declared type.

Note:  If more than one error occurs, which error code  is returned is undefined.  

Parameters

propertyname

Which property to modify.

valuetype

The value type of the property being set.  Legal values are:

Each property has a set of legal set of value types.

pvalue

A pointer to the new value for propertyname. pvalue will be reinterpreted according to the value type provided.

Properties

A client property can be modified by calling this function even before opening a port.

PROP_EX_DECODE_THREAD_PRIORITY

PROP_EX_CHOOSE_MODEL

PROP_EX_DECODE_TIMEOUT

See Also


Complete Help Topic List | Speech Engine Product Information