Terminates speech immediately on the specified channel.
- macOS 10.0+
The speech channel on which speech is to be stopped.
A result code. See Result Codes.
immediately terminates speech on the channel specified by the
After returning from
your application can safely release any text buffer that the speech
synthesizer has been using. You can call
an already idle channel without ill effect.
You can also stop speech by passing a zero-length string (or,
in C, a
to one of the
Doing this stops speech only in the specified speech channel (or,
in the case of
in the speech channel managed internally by the Speech Synthesis
Before calling the
you can use the
which is described in
to determine if a synthesizer is still speaking. If you are working with
multiple speech channels, you can use the status selector with the
is described in
to determine if a specific channel is still speaking.