SndSetInfo
You can use theSndSetInfo
function to set information for a sound channel.
pascal OSStatus SndSetInfo ( SndChannelPtr chan, OSType selector, void *infoPtr);
chan
- A pointer to a sound channel.
selector
- A sound channel information selector specifying the kind of information you want to set for the sound channel. See "Sound Channel Information Selectors" (page 1-23) for a description of the selectors defined by SoundSprocket.
infoPtr
- A pointer to a buffer containing the information you want to set. This buffer must be large enough for the type of information specified by the
selector
parameter.- function result
- A result code.
DESCRIPTION
TheSndSetInfo
function sets information for the sound channel specified by thechan
parameter. The type of information you want to set is specified by theselector
parameter. If additional data is required, it is passed in the buffer pointed to by theinfoPtr
parameter.