|
-
Sep 15th, 2000, 12:25 PM
#1
Thread Starter
Junior Member
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?
-
Sep 18th, 2000, 11:33 PM
#2
Well, you don't need to do anything. The sound will automatically stop if the ASYNC flag is invoked.
By your post I can see that you are probably playing SYNC because the user CAN stop. You can detect messages that will be sent. It's too complicated to explain vhere, so I might be able to explain over E-mail or ICQ, which is 91697293. Your choice .
-
Sep 20th, 2000, 12:14 AM
#3
I'm not always logged in, through. Sorry...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|