Browse
 
Tools
Rss Categories

LV_TTS_RewindBuffer

Reference Number: AA-01006 Views: 10020 0 Rating/ Voters

Reset the buffer read offset so that the next invocation of LV_TTS_GetSynthesizedAudioBuffer starts from the first sample in the buffer.

Function

  • LV_TTS_RETURN_CODE LV_TTS_RewindBuffer(HTTSCLIENT client_handle);

Parameters

client_handle

Handle to the active TTS client object.

Return Values

LV_SUCCESS

No errors; the buffer offset has been reset.    

LV_INVALID_TTS_HANDLE

The specified TTS client handle is not a valid one.

LV_EXCEPTION

An exception occurred while processing the request.