In my code I'm using SoundBank.GetCue("cuename")
and Cue.Play()
to play my sounds.
On the xbox whenever I first play a cue I get lag of about about one second.
How can I avoid this?
I'm thinking I probably have to do something like call GetCue
(without playing it) for every Cue
I'm going to use, however I don't have a central place where I list all cues I'll want to play, so is there an easy way to do that?
Update: It seems calling GetCue
for all sounds i want to play doesn't work. I'm still getting stuttering in various places in my game when i call GetCue....Play
.