Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 2 - Sound Manager / Sound Manager Reference


Legacy Documentclose button

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.

Sound Manager Routines

This section describes the routines provided by the Sound Manager. You can use these routines to

The section "Application-Defined Routines" on page 2-151 describes routines that your application might need to define, including callback procedures, completion routines, and doubleback procedures.

Assembly-Language Note
Most Sound Manager routines are accessed through the _SoundDispatch selector. However, the SndAddModifier, SndControl, SndDisposeChannel, SndDoCommand, SndDoImmediate, SndNewChannel, and SndPlay functions and the SysBeep procedure are accessed through their own trap macros. See "Summary of the Sound Manager," which begins on page 2-157, for a list of trap selector numbers.

Subtopics
Playing Sound Resources
Playing From Disk
Allocating and Releasing Sound Channels
Sending Commands to a Sound Channel
Obtaining Information
Controlling Volume Levels
Compressing and Expanding Audio Data
Managing Double Buffers
Performing Unsigned Fixed-Point Arithmetic
Linking Modifiers to Sound Channels

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996