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 theSPBVersionfunction to determine the version of the sound input tools available on a machine.
FUNCTION SPBVersion: NumVersion;DESCRIPTION
TheSPBVersionfunction returns a version number that contains the same information as in the first 4 bytes of a'vers'resource or aNumVersiondata type. For a description of the version record, see the chapter "Sound Manager" in this book.SPECIAL CONSIDERATIONS
You can call theSPBVersionfunction at interrupt time.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theSPBVersionfunction are
Trap macro Selector _SoundDispatch $00000014 SEE ALSO
For a complete discussion of'vers'resources, see the chapter "Finder Interface" in Inside Macintosh: Macintosh Toolbox Essentials.