Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 5 - Sound Components / Sound Components Reference
Sound Manager Utilities / Opening and Closing the Apple Mixer Component


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.

CloseMixerSoundComponent

A sound output device component can use the CloseMixerSoundComponent function to close the Apple Mixer.

pascal OSErr CloseMixerSoundComponent (ComponentInstance ci);
ci
The component instance of the Apple Mixer component.
DESCRIPTION
The CloseMixerSoundComponent function closes the Apple Mixer component instance specified by the ci parameter. Your output device component should call this function when it is being closed.

SPECIAL CONSIDERATIONS
The CloseMixerSoundComponent function is available only in versions 3.0 and later of the Sound Manager. It should be called only by sound output device components.

RESULT CODES
noErr0No error
invalidComponentID-3000Invalid component ID

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996