Returns a character string from the last (non-SSML) synthesis error, if any.
This functionality was added in LumenVox version 11.3.100 (August 2013)
- LV_TTS_RETURN_CODE GetLastSynthesisError(char *error_buffer, int error_buffer_length)
Pointer to a character string buffer into which the synthesis error description will be copied.
Maximum length (in bytes) of error_buffer.
No errors; The SSML syntax error description has been copied into error_buffer.
The TTS client handle is invalid (either Initialize has not been called or Destroy has already been called).
Either no results are available or there was no SSML syntax error.
An exception occurred while processing the request.
This routine is used to provide feedback about TTS synthesis errors, which does not include SSML syntax errors. Any SSML syntax errors can be obtained using the GetLastSSMLError member function.
To obtain the current LumenVox error code for the specified TTS client, use the GetLastSynthesisErrorCode member function.