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 typeSpeechChannel
. Before your application calls any routine that requires a speech channel as a parameter, you must call theNewSpeechChannel
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 theDisposeSpeechChannel
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