![]() |
CountVoices |
||||
Header: | SpeechSynthesis.h | Carbon status: | Supported | |
Determines how many voices are available.
OSErr CountVoices ( SInt16 *numVoices );
On exit, a pointer to the number of voices that the application can use.
A result code.
The CountVoices function returns, in the numVoices parameter, the number of voices available. The application can then use this information to call the GetIndVoice function to obtain voice specification structures for one or more of the voices.
Each time CountVoices is called, the Speech Manager searches for new voices.
Because the CountVoices 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)