![]() |
SetSpeechInfo |
||||
Header: | SpeechSynthesis.h | Carbon status: | Supported | |
Changes a setting of a particular speech channel.
OSErr SetSpeechInfo ( SpeechChannel chan, OSType selector, const void *speechInfo );
The speech channel for which your application wishes to change a setting.
A speech information selector that indicates the type of information being changed.
For a complete list of speech information selectors, see
A pointer whose meaning depends on the speech information selector specified in the selector parameter.
A result code.
The SetSpeechInfo function changes the type of setting indicated by the selector parameter in the speech channel specified by the chan parameter, based on the data your application provides via the speechInfo parameter.
The format of the data structure specified by the speechInfo parameter depends on the selector you choose. Ordinarily, a selector requires that speechInfo be a pointer to a data structure that specifies a new setting for the speech channel.
You can call the SetSpeechInfo function at interrupt time only if the speech information selector specified in the selector parameter does not move or purge memory.
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)