![]() |
ContinueSpeech |
||||
Header: | SpeechSynthesis.h | Carbon status: | Supported | |
Resumes speech paused by the PauseSpeechAt function.
OSErr ContinueSpeech ( SpeechChannel chan );
The paused speech channel on which speech is to be resumed.
A result code.
At any time after the PauseSpeechAt function is called, the ContinueSpeech function can be called to continue speaking from the beginning of the word in which speech paused. Calling ContinueSpeech on a channel that is not currently in a paused state has no effect on the speech channel or on future calls to the PauseSpeechAt function. If you call ContinueSpeech on a channel before a pause is effective, ContinueSpeech cancels the pause.
If the PauseSpeechAt function stopped speech in the middle of a word, the Speech Manager will start speaking that word from the beginning when you call ContinueSpeech.
Because the ContinueSpeech function moves memory, you should not call it at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)