SndControl
SndControl
Send control commands directly to a synthesizer short id is the ID of a resource
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
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
the Sound Manager, the MACE tools, and the sound input routines by