Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 6 - Audio Components / Audio Components Reference
Audio Component-Defined Routines / Getting Audio Component Information


Legacy Documentclose button

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 the AudioGetInfo 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
Your AudioGetInfo function returns information about your audio component. You should fill out the audio information record pointed to by the info parameter. See "Audio Information Records" beginning on page 6-9 for a description of the audio information record.

RESULT CODES
Your AudioGetInfo function should return noErr if successful or an appropriate result code otherwise.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996