Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DirectX8 Class Demonstration :) ver1.3
#28
Here's how to make music loop.

Code:
Public Sub LoopMusic()
    If DSPosition.CurrentPosition = DSPosition.Duration Then
        DSPosition.CurrentPosition = 0
        DSControl.Run
    End If
End Sub

Just call CDX8.LoopMusic in your main loop to loop the music.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)