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.
AudioGetInfo
An audio component must implement theAudioGetInfofunction. The Sound Manager calls this function to get information about the capabilities of your component.
pascal ComponentResult AudioGetInfo (ComponentInstance ac, AudioInfoPtr info);
ac- A component instance that identifies your sound component.
info- A pointer to an audio information record.
DESCRIPTION
YourAudioGetInfofunction returns information about your audio component. You should fill out the audio information record pointed to by theinfoparameter. See "Audio Information Records" beginning on page 6-9 for a description of the audio information record.RESULT CODES
YourAudioGetInfofunction should returnnoErrif successful or an appropriate result code otherwise.