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 / Speech Recognition Manager Reference
Speech Recognition Manager Routines / Using the System Feedback Window


SRSpeakAndDrawText

You can use the SRSpeakAndDrawText function to draw output text in the feedback window and to have the feedback character in the feedback window speak that text.

pascal OSErr SRSpeakAndDrawText (
SRRecognizer recognizer, 
const void *text, 
Size textLength);
recognizer
A recognizer.
text
The address of a buffer that contains the text to be drawn and spoken.
textLength
The size, in bytes, of the specified text.
DESCRIPTION
The SRSpeakAndDrawText function draws the text specified by the text and textLength parameters in the transcript portion of the feedback window associated with the recognizer specified by the recognizer parameter. The text is drawn in the style characteristic of all output text. SRSpeakAndDrawText also causes the feedback character in the feedback window to speak that text. SRSpeakAndDrawText is simply a convenient shortcut for SRSpeakText and SRDrawText.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
22 JAN 1997