Returns the length of the message of the specified warning. This can be used to properly size the buffer needed for LV_TTS_GetSynthesisWarningMessage.
This functionality was added in LumenVox version 13.0 (December 2014).
- LV_TTS_RETURN_CODE LV_TTS_GetSynthesisWarningMessageLen(HTTSCLIENT client_handle, unsigned int warning_idx, int * return_val);
Handle to the TTS client object.
Index of the warning whose message length is being queried. It must be in the range [0, (warning_count - 1)] where warning_count was obtained from a call to LV_TTS_GetSynthesisWarningCount.
Pointer to an integer variable into which the message length will be copied.
No errors; the queried message length value is available in return_val.
The input TTS client handle is not a valid one.
Synthesis results are not yet available.
The input warning_idxis out of range.
An exception occurred while processing the request.