SndDisposeChannel
SndChannelPtr chan; a pointer to a sound channel
Boolean quietNow 0=await completion; 1=immediate return chan parameter and releases all memory allocated by the Sound Manager for that channel. If your application created its own sound-channel record in
memory or installed a sound as a voice, the Sound Manager does not dispose of that memory.
chan a pointer to a sound channel
until the queued commands are processed. If quietNow is set to TRUE,
a flushCmd command and then a quietCmd command are sent to the
channel. This removes all commands, stops any sound in progress,
and closes the channel. If quietNow is FALSE,
the quietCmd command is received by the synthesizer before
disposing of the channel
noErr (0) No error
badChannel (-205) Channel is corrupt or unusable