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 yourAudioSetToDefaults
function to reset an audio port.
pascal ComponentResult AudioSetToDefaults (ComponentInstance ac);
ac
- A component instance that identifies your audio component.
DESCRIPTION
YourAudioSetToDefaults
function 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
YourAudioSetToDefaults
function should returnnoErr
if successful or an appropriate result code otherwise.