|
-
Feb 14th, 2001, 01:53 AM
#1
Thread Starter
New Member
Dim SoundWave as long
SoundWave = PlaySound(App.Path + "\sound1.wav", 0, SND_ASYNC)
How do I detect if SoundWave has finished playing?
-
Feb 14th, 2001, 06:05 AM
#2
Addicted Member
Open Using mciSendString.
Call The mciSendString With Status Mode As Argument.
Ex::
Public Function IsPlaying() As Boolean
Static yn As String * 30
mciSendString "status MP3Play mode", yn, Len(yn), 0
IsItPlaying = (Mid$(yn, 1, 7) = "playing")
End Function
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
|