Contents

SpeechBusy()

Determines whether any channels of speech are currentlysynthesizing speech.

Declaration

func SpeechBusy() -> Int16

Return Value

The number of speechchannels that are currently synthesizing speech in the application.This is useful when you want to ensure that an earlier speech requesthas been completed before having the system speak again. Pausedspeech channels are counted among those that are synthesizing speech.

The speech channel that the Speech Synthesis Manager allocatesinternally in response to calls to the SpeakString functionis counted in the number returned by SpeechBusy. Thus,if you use just SpeakString toinitiate speech, SpeechBusy alwaysreturns 1 as long as speech is being produced. When SpeechBusy returns0, all speech has finished.

See Also

Obtaining Information About Speech and Speech Channels