Browse
 
Tools
Rss Categories

LVTTSClient::GetSynthesisWarningSSMLLine

Reference Number: AA-01997 Views: 11119 0 Rating/ Voters

Returns the SSML line number that triggered the specified warning.

This functionality was added in LumenVox version 13.0 (December 2014).

Function

  • LV_TTS_RETURN_CODE GetSynthesisWarningSSMLLine( unsigned int warning_idx, int * return_val )

Parameters

warning_idx

Index of the warning whose message is being queried. It must be in the range [0, (warning_count - 1)] where warning_count was obtained from a call to LVTTSClient::GetSynthesisWarningCount.

return_val

Pointer to an integer variable in which the SSML line number will be returned.

Return Values

LV_SUCCESS

No errors; the queried SSML line number value is available in return_val.

LV_INVALID_TTS_HANDLE

The input TTS client handle is not a valid one.

LV_NO_RESULT_AVAILABLE

Synthesis results are not yet available.

LV_FAILURE

The input warning_idx is out of range.

LV_EXCEPTION

An exception occurred while processing the request.