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.
SndManagerStatus
You can use theSndManagerStatus
function to determine information about all sound channels currently allocated.
FUNCTION SndManagerStatus (theLength: Integer; theStatus: SMStatusPtr): OSErr;
theLength
- The size in bytes of the Sound Manager status record. You should set this field to
SizeOf(SMStatus)
.theStatus
- A pointer to a Sound Manager status record.
DESCRIPTION
TheSndManagerStatus
function determines information about all currently allocated sound channels. If theSndManagerStatus
function executes successfully, the fields of the record specified bytheStatus
accurately describe the current status of the Sound Manager.SPECIAL CONSIDERATIONS
You can call theSndManagerStatus
function at interrupt time.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theSndManagerStatus
function are
Trap macro Selector _SoundDispatch $00140008 RESULT CODES
noErr 0 No error