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 theSPBVersion
function to determine the version of the sound input tools available on a machine.
FUNCTION SPBVersion: NumVersion;DESCRIPTION
TheSPBVersion
function returns a version number that contains the same information as in the first 4 bytes of a'vers'
resource or aNumVersion
data type. For a description of the version record, see the chapter "Sound Manager" in this book.SPECIAL CONSIDERATIONS
You can call theSPBVersion
function at interrupt time.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theSPBVersion
function 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.