XACT

Sounds Stopped Before They Should Stop
This is wrong: void PlayCue(string cueName) {    if (AudioEngine == null) return; Cue cue = soundBank.GetCue(cueName); cue.Play; // 'cue' may be garbage collected here, and the sound will stop } This is right: void PlayCue(string cueName) {    if (AudioEngine == null) return; soundBank.PlayCue(cueName); }