Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 4 - Speech Manager / Speech Manager Reference
Speech Manager Routines / Obtaining Information About Speech


Legacy Documentclose button

Important: Inside Macintosh: Sound is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.

SpeechManagerVersion

You can use the SpeechManagerVersion function to determine the current version of the Speech Manager installed in the system.

FUNCTION SpeechManagerVersion: NumVersion;
DESCRIPTION
The SpeechManagerVersion function returns the version of the Speech Manager installed in the system, in the format of the first 4 bytes of a 'vers' resource. You can use this call to determine whether your program can access features of the Speech Manager that are included in some Speech Manager releases but not in earlier ones. Note, however, that because this chapter documents the initial release of the Speech Manager, all features and techniques described in this chapter should be available in all versions of the Speech Manager.

SPECIAL CONSIDERATIONS
You can call the SpeechManagerVersion function at interrupt time.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the SpeechManagerVersion function are
Trap macroSelector
_SoundDispatch$0000000C


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996