Browse
 
Tools
Rss Categories

LVTTSClient::GetSSMLMarksCount

Reference Number: AA-01026 Views: 9522 0 Rating/ Voters

Returns the number of text-to-speech SSML marks available in the active synthesis result. See SSML documentation for more information relating to Mark elements and how they can be used within SSML syntheses.


Function

  • LV_TTS_RETURN_CODE GetSSMLMarksCount(int *return_count)

Parameters

return_count

Memory location of an integer variable into which the number of SSML marks is to be copied.

Return Values

LV_SUCCESS

No errors.

LV_FAILURE

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

LV_EXCEPTION

An exception occurred while processing the request.

Remarks

If results are not available yet, the value returned in return_count will be zero even if the method returns LV_SUCCESS.