SndControl
SndControl Send control commands directly to a synthesizer
#include <Sound.h> Sound Manager
short id is the ID of a resource
SndCommand *cmd; specifies the control command
returns Error Code; 0=no error
The SndControl function sends control commands directly to a synthesizer
specified by its resource ID. This can be called even if no channel has been
created for the synthesizer. This control function is used with availableCmd or
versionCmd to request information about a synthesizer. You can also use the
totalLoadCmd and loadCmd commands with SndControl to determine the
sound-related CPU load factor. The requested information is returned in the
cmd parameter.
id specifies a resource
cmd is the specific control command
Returns: an operating system Error Code.
noErr (0) No error

Notes: You can not call SndControl at interrupt time because it may need to load
a resource into memory.
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.