Returns the sample rate (in Hz) of the synthesized audio from the last call to LV_TTS_Synthesize.
- LV_TTS_RETURN_CODE LV_TTS_GetSynthesizedAudioSampleRate(HTTSCLIENT client_handle, int * sample_rate);
Handle to the TTS client object.
Memory location of integer variable into which the sample rate value is to be copied.
Note that normally, this will return a value of 8000, being the default 8 KHz sample rate
If you are using 22 kHz voices, this value would be 22050
No errors; sample_rate will contain the requested sample rate.
The specified TTS client handle is not a valid one.
An exception occurred while processing the request.