Browse
 
Tools
Rss Categories

LV_TTS_GetLastSynthesisErrorCode

Reference Number: AA-01826 Views: 11580 0 Rating/ Voters

Returns the last (non-SSML) TTS error code, or LV_SUCCESS if no error is recorded.

This functionality was added with LumenVox version 11.3.100 (August 2013)

Function

  • LV_TTS_RETURN_CODE LV_TTS_GetLastSynthesisErrorCode(HTTSCLIENT client_handle, int * error_code);

Parameters

client_handle

Handle to the TTS client object.

error_code

Location of a variable in which the last TTS error code will be stored.

Return Values

LV_SUCCESS

No errors; The synthesis error code has been copied into error_code.

LV_INVALID_TTS_HANDLE

The specified TTS client handle parameter is not a valid one.

LV_INVALID_API_PARAMETER

The specified error_code parameter is NULL.

LV_EXCEPTION

An exception occurred while processing the request.

Remarks


This routine is used to obtain the current LumenVox error code for the specified TTS client handle. To obtain an error string associated with TTS errors, use the LV_TTS_GetLastSynthesisError API function.