Browse
 
Tools
Rss Categories

LVTTSClient::GetLastSynthesisErrorCode

Reference Number: AA-01829 Views: 11285 0 Rating/ Voters

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

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

Function

  • LV_TTS_RETURN_CODE GetLastSynthesisErrorCode(int *error_code)

Parameters

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 TTS client handle is invalid (either Initialize has not been called or Destroy has already been called).

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 GetLastSynthesisError member function.