SndGetInfo
You can use theSndGetInfofunction to get information about a sound channel.
pascal OSStatus SndGetInfo ( 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 get about 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 in which the information is to be returned. This buffer must be large enough for the type of information specified by the
selectorparameter.- function result
- A result code.
DESCRIPTION
TheSndGetInfofunction returns, in theinfoPtrparameter, a pointer to a buffer holding the information of the type specified by theselectorparameter about the sound channel specified by thechanparameter.
 
  
  
 