|
-
Sep 28th, 2000, 06:15 PM
#1
Thread Starter
Junior Member
Is there any way to have the playsound api continuously loop a sound file? I been using:
Public Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long
along with declaring it in the form as:
retval = PlaySound("path to sound file", 0&, &H20000)
and can only get the sound file to play once. I tried to use &H8 (read this value would loop from a book) instead of &H20000, but then the sound wouldn't play at all. Help, 'cause I'm stumped.
Jason
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
|