Carbon


SRStartListening

Header: SpeechRecognition.h Carbon status: Supported

Starts a recognizer listening and reporting results to your application.

OSErr SRStartListening (
    SRRecognizer recognizer
);
Parameter descriptions
recognizer

A recognizer.

function result

A result code.

DISCUSSION

The SRStartListening function instructs the recognizer specified by the recognizer 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).

You must already have built a language model and attached it to the recognizer (by calling the SRSetLanguageModel function) before you call SRStartListening.

AVAILABILITY

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 7/10/2000)