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 Reference
This section describes the constants, data structures, and routines provided by the Sound Manager. It also describes the format of data stored in sound resources and files that the Sound Manager can play.The section "Constants" describes the constants defined by the Sound Manager that you can use to specify channel initialization parameters and sound commands. It also lists the sound attributes selector for the
Gestalt
function and the returned bit numbers. See the section "Summary of the Sound Manager" on page 2-157 for a list of all the constants defined by the Sound Manager.The section "Data Structures" beginning on page 2-99 describes the Pascal data structures for all of the Sound Manager records that applications can use, including sound commands, sound channels, and sound headers.
The section "Sound Manager Routines" beginning on page 2-119 describes the routines that allow you to play sounds, manage sound channels, and obtain sound-related information. That section also includes information on routines that give you low-level control over sound output.
The section "Application-Defined Routines" beginning on page 2-151 describes callback procedures and completion routines that your application might need to define.
The section "Resources" beginning on page 2-154 describes the organization of format 1 and format 2
'snd '
resources.
Subtopics
- Constants
- Data Structures
- Sound Manager Routines
- Application-Defined Routines
- Resources