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.
Managing Sound Components
To write a sound component, you might need to define routines that manage the loading, configuration, and unloading of your sound component:
After the Sound Manager opens your sound component, it attempts to add your sound component to a sound component chain. Thereafter, the Sound Manager calls your component's
SoundComponentInitOutputDevice
SoundComponentSetSource
SoundComponentGetSource
SoundComponentGetSourceData
SoundComponentSetOutput
SoundComponentInitOutputDevice
function to give you an opportunity to set default values for any associated hardware and to perform any hardware-specific operations.
Subtopics
- SoundComponentInitOutputDevice
- SoundComponentSetSource
- SoundComponentGetSource
- SoundComponentGetSourceData
- SoundComponentSetOutput