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.
Audio Component-Defined Routines
This section describes the routines you must define in order to write an audio component. You need to write routines to
All routines return result codes. If they succeed, they should return
- get and set volume levels of a sound output device
- manage mute states
- reset device settings
- get information about the audio component
noErr
. To simplify dispatching, the Component Manager requires these routines to return a value of typeComponentResult
.See "Writing an Audio Component" beginning on page 6-5 for a description of how you call these routines from within an audio component.
Subtopics
- Getting and Setting Volumes
- Managing the Mute State
- Resetting Audio Components
- Getting Audio Component Information