I'm playing a wave file using DirectX, this works great but how can I determin if the wave file has stopped playing?
I want the program to take another action as soon as the file has been played. Any suggestions on how to do this?Code:Private Sub Command1_Click() Set dsToneBuffer = DS.CreateSoundBufferFromFile(App.Path & "\sound.wav", idesc) End Sub




Reply With Quote