Determines whether any channels of speech are currently synthesizing speech.
- macOS 10.0+
The number of speech channels that are currently synthesizing speech in the application. This is useful when you want to ensure that an earlier speech request has been completed before having the system speak again. Paused speech channels are counted among those that are synthesizing speech.
The speech channel that the Speech Synthesis Manager allocates
internally in response to calls to the
is counted in the number returned by
if you use just
1 as long as speech is being produced. When
0, all speech has finished.