[RESOLVED] XACT: Stop Cue Problem
I don't know if anyone is familiar with the Microsoft Cross-Platform Audio Creation Tool but I have been through a tutorial to implement the use of this is to my game but I am having problems stopping a sound that I have looping.
Here is the code to stop the cue:
Code:
Public Sub StopSound()
Try
Cue.Stop(AudioStopOptions.Immediate) 'Stop Sound Immediatly'
Catch ex As Exception
End Try
End Sub
Can anyone help?
Re: XACT: Stop Cue Problem
Ok this has now been solved for anyone who may run in to this problem I was using a module to hold the sound cue where as I should have a class and create an instance of the class each time I want to stop/play a sound.