Browse
 
Tools
Rss Categories

LVTTSClient::GetLastSSMLError

Reference Number: AA-01021 Views: 2461 0 Rating/ Voters

Returns a character string from the last SSML syntax error, if any.

Function

  • LV_TTS_RETURN_CODE GetLastSSMLError(char *error_buffer, int error_buffer_length)

Parameters

error_buffer

Pointer to a char buffer into which the SSML syntax error description will be copied.

error_buffer_length

Maximum length (in bytes) of error_buffer.

Return Values

LV_SUCCESS

No errors; The SSML syntax error description has been copied into error_buffer.

LV_INVALID_TTS_HANDLE

The TTS client handle is invalid (either Initialize has not been called or Destroy has already been called).

LV_FAILURE

Either no results are available or there was no SSML syntax error.

LV_EXCEPTION

An exception occurred while processing the request.