Important: The information in this document is obsolete and should not be used for new development.
Gestalt Selectors and Response Values
You can pass thegestaltSpeechRecognitionVersion
selector to theGestalt
function to determine the version of the Speech Recognition Manager installed on a computer.
enum { gestaltSpeechRecognitionVersion = 'srtb', gestaltSpeechRecognitionAttr = 'srta' };Gestalt
returns a long word in theresponse
parameter that is the current version number of the Speech Recognition Manager. If the value of theresponse
parameter is 0x00000000 (or ifGestalt
returns an error), the Speech Recognition Manager is not available on the target computer.You can pass the
gestaltSpeechRecognitionAttr
selector to theGestalt
function to get the attributes of the Speech Recognition Manager.Gestalt
returns information to you by returning a long word in theresponse
parameter. The returned values are defined by constants:
enum { gestaltDesktopSpeechRecognition = 1L<<0, gestaltTelephoneSpeechRecognition = 1L<<1 };Constant descriptions
gestaltDesktopSpeechRecognition
- If this bit is set, the Speech Recognition Manager supports the desktop microphone.
gestaltTelephoneSpeechRecognition
- If this bit is set, the Speech Recognition Manager supports telephone input. In versions 1.5 and earlier, this bit is always 0.