Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 1 - SoundSprocket / SoundSprocket Reference
Data Structures


Sound Component Link Structure

The third parameter passed to SndSetInfo for the siPreMixerSoundComponent information selector is a pointer to a sound component link structure. A sound component link structure is defined by the SoundComponentLink data type.

struct SoundComponentLink {
   ComponentDescription       description;
   SoundSource                mixerID;
   SoundSource *              linkID;
};
typedef struct SoundComponentLink SoundComponentLink;
typedef SoundComponentLink *SoundComponentLinkPtr;
Field Description
description
A component description record.
mixerID
A mixer ID.
linkID
A link ID. Set this value to NULL.
Note
The ComponentDescription structure is described in Inside Macintosh: More Macintosh Toolbox.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996