SndStopFilePlay
SndStopFilePlay Stop asynchronous play from disk
#include <Sound.h> Sound Manager
OSErr SndStopFilePlay(chan, async);
SndChannelPtr chan; a pointer to a valid sound channel
Boolean async TRUE=stop play as soon as possible
returns Error Code; 0=no error
You can use SndStopFilePlay in conjunction with SndPauseFilePlay to
control play from disk on a sound channel.
chan should be a pointer to a valid sound channel.
async If the async parameter is TRUE, then the play from disk stops as
soon as possible, and program control returns to your application.
All asynchronous file I/O calls will have completed, and any
internally allocated memory will have been released. If async is
FALSE, then SndStopFilePlay lets the sound complete normally and
returns only after the sound has completed, all asynchronous file I/O
calls have completed, and any internal allocated memory has been
released.
Returns: an operating system Error Code.
noErr (0) No error
queueFull (-203) No room in the queue
badChannel (-205) Channel is corrupt or unusable

Notes: You can call SndStopFilePlay at interrupt time.