Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Speech Recognition Manager /
Chapter 1 - Speech Recognition Manager / Using the Speech Recognition Manager


Starting and Stopping Speech Recognition

Once you've assigned a language model to a recognizer, you can have the recognizer start processing sound and recognizing utterances by calling the SRStartListening function:

myErr = SRStartListening(gRecognizer);
After you've called SRStartListening, the recognizer listens for utterances and reports its results to your application by sending it recognition notifications. See the next section for information on processing these notifications.

You can stop a recognizer from listening and reporting results to your application by calling the SRStopListening function:

myErr = SRStopListening(gRecognizer);
You can resume listening by calling the SRStartListening function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
22 JAN 1997