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.
SndSoundManagerVersion
You can useSndSoundManagerVersion
to determine the version of the Sound Manager tools available on a computer.
FUNCTION SndSoundManagerVersion: NumVersion;DESCRIPTION
TheSndSoundManagerVersion
function returns a version number that contains the same information as in the first 4 bytes of a'vers'
resource. You might use theSndSoundManagerVersion
function to determine if a computer has the enhanced Sound Manager, which is necessary for multichannel sound and for continuous plays from disk.SPECIAL CONSIDERATIONS
You can call theSndSoundManagerVersion
function at interrupt time.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theSndSoundManagerVersion
function are
Trap macro Selector _SoundDispatch $000C0008 SEE ALSO
For information on how to use theSndSoundManagerVersion
function to determine whether the enhanced Sound Manager is available, see "Obtaining Version Information" on page 2-34.