Important: The information in this document is obsolete and should not be used for new development.
Gestalt Selectors and Response Values
You can pass thegestaltSpeechRecognitionVersionselector to theGestaltfunction to determine the version of the Speech Recognition Manager installed on a computer.
enum { gestaltSpeechRecognitionVersion = 'srtb', gestaltSpeechRecognitionAttr = 'srta' };Gestaltreturns a long word in theresponseparameter that is the current version number of the Speech Recognition Manager. If the value of theresponseparameter is 0x00000000 (or ifGestaltreturns an error), the Speech Recognition Manager is not available on the target computer.You can pass the
gestaltSpeechRecognitionAttrselector to theGestaltfunction to get the attributes of the Speech Recognition Manager.Gestaltreturns information to you by returning a long word in theresponseparameter. 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.