![]() |
SRSpeakAndDrawText |
||||
Header: | SpeechRecognition.h | Carbon status: | Supported | |
Draws output text in the feedback window and causes the feedback character in the feedback window to speak that text.
OSErr SRSpeakAndDrawText ( SRRecognizer recognizer, const void *text, Size textLength );
A recognizer.
A pointer to a buffer that contains the text to be drawn and spoken.
The size, in bytes, of the specified text.
A result code.
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.
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)