LVSpeechPort::DestroyClient

Safely destroys a speech port, releasing the acquired license and other associated resources.

Function

Return Values

LV_SUCCESS

The port has been successfully destroyed.

LV_INVALID_HPORT

The port is not valid (either CreateClient has not been called or DestroyClient has already been called).

LV_EXCEPTION

An exception occured while processing the request.

Remarks

Each open port requires one license. For this reason, you should close every port as soon as it is no longer needed.

See Also

© 2012 LumenVox LLC. All rights reserved.