FMillion
Sep 15th, 2000, 12:25 PM
Here's my question:
I am using the (I believe) sndPLaySound API call to play
a .WAV file stored in a .RES file. My only problem is this:
I want the sound to play asynchronously, but still be able to do something when the file is finished playing. For example, I want a wav file to play, the user CAN cancel if if he/she chooses, but otherwise something would happen at the end of the WAV file's playing.
In short, how can I detect the end of the playing of a .WAV file when using asynchronous play through the API call?
I am using the (I believe) sndPLaySound API call to play
a .WAV file stored in a .RES file. My only problem is this:
I want the sound to play asynchronously, but still be able to do something when the file is finished playing. For example, I want a wav file to play, the user CAN cancel if if he/she chooses, but otherwise something would happen at the end of the WAV file's playing.
In short, how can I detect the end of the playing of a .WAV file when using asynchronous play through the API call?