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 theAudioGetInfo
function. 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
YourAudioGetInfo
function returns information about your audio component. You should fill out the audio information record pointed to by theinfo
parameter. See "Audio Information Records" beginning on page 6-9 for a description of the audio information record.RESULT CODES
YourAudioGetInfo
function should returnnoErr
if successful or an appropriate result code otherwise.