sgt_pinky
Regular
Is it possible to play an mp3 with DirectSound? This is what I am using for wav files:
I tried just to put an mp3 as the filename, but it didnt like that at all. Bad mistake to make in a full screen app, let me tell you.
Visual Basic:
Dim xx As New Device
xx.SetCooperativeLevel(Me, CooperativeLevel.Priority)
Dim ss As New SecondaryBuffer("c:\file.wav", xx)
ss.Play(0, BufferPlayFlags.Default)
I tried just to put an mp3 as the filename, but it didnt like that at all. Bad mistake to make in a full screen app, let me tell you.