Returns the offset, in bytes, to the beginning of the specified SSML mark in the synthesized audio buffer. The offset provided is relative to the start of the buffer. See SSML documentation for more information relating to Mark elements and how they can be used within SSML syntheses. There is also documentation to convert buffer offset to milliseconds.
- LV_TTS_RETURN_CODE LV_TTS_GetSSMLMarkOffsetInBuffer(HTTSCLIENT client_handle, unsigned int ssml_mark_idx, int * buffer_offset );
Handle to the TTS client object.
Index of the SSML mark to whose beginning the offset in buffer is being queried. It must be in the range [0, (ssml_marks_count - 1)] where ssml_marks_count was obtained from a call to LV_TTS_GetSSMLMarksCount.
Pointer to an integer variable into which the offset value will be returned.
No errors; the queried offset value is available in buffer_offset.
The input TTS client handle is not a valid one.
Synthesis results are not yet available.
The input ssml_mark_idx is out of range.
An exception occurred while processing the request.