SndChannelStatus
SndChannelStatus Determine the status of a sound channel
#include <Sound.h> Sound Manager
OSErr SndChannelStatus(chan, theLength, theStatus);
SndChannelPtr chan; a pointer to a valid sound channel
SndCommand theLength; the size in bytes of the status structure
SCStatusPtr theStatus; a pointer to an SCStatus structure
returns Error Code; 0=no error
You can use SndChannelStatus to determine the status of a
Sound Manager sound channel.
chan should be a pointer to a valid sound channel.
theLength should be the size in bytes of the status structure that theStatus
points to.
theStatus should be a pointer to an SCStatus structure. On successful
completion of the call, the fields of that structure contain the
information about the specified sound channel.
Returns: an operating system Error Code.
noErr (0) No error
paramErr (-50) A parameter is incorrect
badChannel (-205) Channel is corrupt or unusable

Notes: You can call SndChannelStatus at interrupt time.
You can obtain information about a sound channel and about the
Sound Manager itself by calling the SndControl, SndChannelStatus,
and SndManagerStatus functions. You can obtain the version numbers of
the Sound Manager, the MACE tools, and the sound input routines by
calling the SndSoundManagerVersion, MACEVersion, and
SPBVersion functions, respectively.