|
-
Aug 13th, 2002, 05:07 PM
#1
Thread Starter
Addicted Member
Sound problem
Declare Function sndPlaySound Lib "winmm.dll" Alias _
"sndPlaySoundA" (ByVal lpszSoundName As String, ByVal _
uFlags As Long) As Long
Declare Function sndPlaySoundB Lib "winmm.dll" Alias _
"sndPlaySoundA" (ByVal lpszSoundName As String, ByVal _
uFlags As Long) As Long
I make declariations for two different sounds like this, then I play one sound:
Call sndPlaySound(App.Path & "\sound.wav", &H1 Or &H8)
Then later on in the game I play a different sound the same way except not looping, and the first sound interupts and no longer loops. How can I play two sounds at once. I have one sound that is looping and one sound that does not, it only plays sometimes. Please Help!
Thanks.
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
|