Hi
I have an audio file. Each time maskcount is above 0, the file will be played. But the problem is the duration of the file is only 5 sec. So it will stop playing after 5 sec. How do i make it play continuosly for as long as the maskcount > 0?
Dim someFile As String = "F:\HearingTestSimulator\pwn_wav.wav"
If maskcount > 0 Then
My.Computer.Audio.Play(someFile)
ElseIf maskcount = 0 Then
My.Computer.Audio.Stop()
End If