Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 3 - Sound Input Manager / Sound Input Manager Reference
Sound Input Manager Routines / Obtaining Information


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.

SPBVersion

You can use the SPBVersion function to determine the version of the sound input tools available on a machine.

FUNCTION SPBVersion: NumVersion;
DESCRIPTION
The SPBVersion function returns a version number that contains the same information as in the first 4 bytes of a 'vers' resource or a NumVersion data type. For a description of the version record, see the chapter "Sound Manager" in this book.

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

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the SPBVersion function are
Trap macroSelector
_SoundDispatch$00000014

SEE ALSO
For a complete discussion of 'vers' resources, see the chapter "Finder Interface" in Inside Macintosh: Macintosh Toolbox Essentials.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996