Inside Macintosh: Sound Manager

| Previous | Chapter contents | Chapter top | Section top | Next |

Legacy Documentclose button

Important: Sound Input Manager 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.

Obtaining Information

The SPBVersion function allows you to determine the version of the Sound Input Manager.

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 macro

Selector

_SoundDispatch

$00000014

SEE ALSO

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


© 1999 Apple Computer, Inc.

Inside Macintosh: Sound Manager

| Previous | Chapter contents | Chapter top | Section top | Next |

Legacy Documentclose button

Important: Sound Input Manager 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.