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 theCloseMixerSoundComponent
function to close the Apple Mixer.
pascal OSErr CloseMixerSoundComponent (ComponentInstance ci);
ci
- The component instance of the Apple Mixer component.
DESCRIPTION
TheCloseMixerSoundComponent
function closes the Apple Mixer component instance specified by theci
parameter. Your output device component should call this function when it is being closed.SPECIAL CONSIDERATIONS
TheCloseMixerSoundComponent
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
noErr 0 No error invalidComponentID -3000 Invalid component ID