Important: Inside Macintosh: Sound is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.
ContinueSpeech
You can use the ContinueSpeech function to resume speech paused by thePauseSpeechAt
function.
FUNCTION ContinueSpeech (chan: SpeechChannel): OSErr;
chan
- The paused speech channel on which speech is to be resumed.
DESCRIPTION
At any time after thePauseSpeechAt
function is called, theContinueSpeech
function can be called to continue speaking from the beginning of the word in which speech paused. CallingContinueSpeech
on a channel that is not currently in a paused state has no effect on the speech channel or on future calls to thePauseSpeechAt
function. If you callContinueSpeech
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 callContinueSpeech
.SPECIAL CONSIDERATIONS
Because theContinueSpeech
function moves memory, you should not call it at interrupt time.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theContinueSpeech
function are
Trap macro Selector _SoundDispatch
$0238000C RESULT CODES
noErr 0 No error invalidComponentID -3000 Speech channel is uninitialized or bad