Read all, or some portion of the synthesized audio buffer that was obtained from a LV_TTS_Synthesize
call. Each successive invocation of this function reads the buffer at an offset that is after the last sample read in the previous call.
- LV_TTS_RETURN_CODE LV_TTS_GetSynthesizedAudioBuffer(HTTSCLIENT client_handle, void * buffer, int buffer_size_in_bytes, int* bytes_returned);
Handle to the TTS client object.
Location of memory buffer where the synthesized audio samples need to be copied into.
Amount of memory allocated for buffer, number of bytes of synthesized audio samples to be read into buffer.
The number of bytes of synthesized audio samples actually copied into buffer. This may be less than buffer_size_in_bytes if there is not sufficient data available.
No errors; bytes_returned bytes of synthesized audio samples have been copied into buffer.
The input TTS client handle is not a valid one; or buffer points to an invalid memory location; or results are not yet available.
An exception occurred while processing the request.