Documentation

Support

Vivox Core SDK

Vivox Core SDK

Shut down text-to-speech

Learn about text-to-speech functionality.
Read time 1 minuteLast updated 2 months ago

When you are finished using text-to-speech (TTS) functionality, we recommend that you shut down the TTS manager. This removes all ongoing and enqueued messages, and safely releases all memory associated with TTS objects (other than
vx_tts_utterance_t
structs, which you must still explicitly destroy).
vx_tts_status status = vx_tts_shutdown(&managerId);
Note
After you shut down a TTS manager, its unique identifier becomes invalid, and a new identifier must be generated by using
vx_tts_initialize
before you can use TTS again.