LV_SRE_SetProperty

Sets various properties on the port.

int LV_SRE_SetProperty(HPORT hport, PROPERTIES Property, int Value);

Return Values

LV_SUCCESS

No errors; Property is set to Value.

A negative result indicates a specific error:

-1: LV_FAILURE: The decode failed.

-11: LV_INVALID_VALUE: Value is invalid for the given property.

Parameters

HPort

The port's handle.

Property

Which property to modify.

Value

Property dependent.

Remarks

Currently, only PROP_SAVE_SOUND_FILES is implemented. Setting Value to 1 will cause the port to save request and answer files to disk; setting Value to 0 turns this feature off.  The request and answer files are invaluable for troubleshooting and tuning applications, but will quickly fill up a hard drive.

See Also


Complete Help Topic List | Speech Engine Product Information