Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 4 - Speech Manager / Speech Manager Reference
Speech Manager Routines


Legacy Documentclose button

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.

Managing Speech Channels

To take advantage of any but the most rudimentary of the Speech Manager's capabilities, you need to use speech channels. However, you cannot create a speech channel simply by declaring a variable of type SpeechChannel. Before your application calls any routine that requires a speech channel as a parameter, you must call the NewSpeechChannel function to allow the Speech Manager to allocate memory associated with the speech channel. Later, you can release the memory occupied by a speech channel by calling the DisposeSpeechChannel function. In general, it is a good idea to create a speech channel just before you need it and then dispose of it as soon as you have finished processing speech through it.


Subtopics
NewSpeechChannel
DisposeSpeechChannel

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996