Browse
 
Tools
Rss Categories

LVTTSClient::RewindBuffer

Reference Number: AA-01039 Views: 9075 0 Rating/ Voters

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

Function

  • LV_TTS_RETURN_CODE RewindBuffer(void)

Return Values

LV_SUCCESS

No errors; the buffer offset has been reset.

LV_INVALID_TTS_HANDLE

  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.