Important: The information in this document is obsolete and should not be used for new development.
SRStartListening
You can use theSRStartListening
function to start a recognizer listening and reporting results to your application.
pascal OSErr SRStartListening (SRRecognizer recognizer);
recognizer
- A recognizer.
DESCRIPTION
TheSRStartListening
function instructs the recognizer specified by therecognizer
parameter to begin processing sound from its speech source and reporting its results to your application (either using Apple events or through a speech recognition callback routine).SPECIAL CONSIDERATIONS
You must already have built a language model and attached it to the recognizer (by calling theSRSetLanguageModel
function) before you callSRStartListening
.