Inside Macintosh: Sound

| 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.

Sound Manager Routines

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

The section "Application-Defined Routines" 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.

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


© 1999 Apple Computer, Inc.

Inside Macintosh: Sound

| 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.