[futurebasic] Stopping a rsrc sound

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1999 : Group Archive : Group : All Groups

From: Doug Hull <doug_hull@...>
Date: Fri, 28 May 1999 09:34:46 -0500
I am using FB II and in my program I use a resource file that has sounds in
it.  These sounds are only 1-4 seconds long.  I get and play the sound by
using the id of a particular sound in the following way:

id%=15445
sndNum$="%"+MKI$(id%)
SOUND sndNum$

This is very simple.  My question is how can I stop the sound if needed?  This
is a research program and I need to stop the sound as soon as a client makes
some sort of response.

If anyone can help I would appreciate very much.

Thanks,
Doug