Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 5 - Sound Components / Sound Components Reference
Data Structures


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.

Sound Information Lists

The SoundComponentGetInfo and SoundComponentSetInfo functions access information about a sound component using a sound information list, which is defined by the SoundInfoList 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 to SoundComponentGetInfo or SoundComponentSetInfo. See "Sound Component Information Selectors" beginning on page 5-22 for information about the available information selectors.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996