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.
Sound Information Lists
TheSoundComponentGetInfo
andSoundComponentSetInfo
functions access information about a sound component using a sound information list, which is defined by theSoundInfoList
data type.
typedef struct { short count; Handle handle; } SoundInfoList, *SoundInfoListPtr;
Field Description
count
- The number of elements in the array referenced by the
handle
field.handle
- A handle to an array of data elements. The type of these data elements depends on the kind of information requested, which is determined by the
selector
parameter passed toSoundComponentGetInfo
orSoundComponentSetInfo
. See "Sound Component Information Selectors" beginning on page 5-22 for information about the available information selectors.