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.
AudioSetToDefaults
The Sound Manager might call yourAudioSetToDefaultsfunction to reset an audio port.
pascal ComponentResult AudioSetToDefaults (ComponentInstance ac);
ac- A component instance that identifies your audio component.
DESCRIPTION
YourAudioSetToDefaultsfunction should reset its volume and mute levels to some reasonable default value. It should also reset to reasonable values any other settings it might be maintaining privately.RESULT CODES
YourAudioSetToDefaultsfunction should returnnoErrif successful or an appropriate result code otherwise.