IsTtsReady() |
|
This function returns 1 (true) if the Text to Speech engine is ready to Speak text. If the TTS engine is not ready 0 (false) is returned. Something like the following code should be used to ensure the TTS engine is ready before the first use.
timeout = time() + 2000
|