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 GetSSMLMarkOffsetInBuffer(unsigned int ssml_mark_idx, int * buffer_offset)
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 GetSSMLMarksCount.
Pointer to an integer variable in 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.