How replay music in XACT?
I want to replay Music(ex : BG)
using "cue->play()" or "SoundBank->Play()" func is played Once..
How replay Music forever?
answer plz....
I want to replay Music(ex : BG)
using "cue->play()" or "SoundBank->Play()" func is played Once..
How replay Music forever?
answer plz....
When authoring the content, you need to set the "LoopEvent" property of Sound >Track # >Play Wave to "Infinite".
To do this:
1. Open the SoundBank that contains the sound you want to loop forever.
2. Select the sound (in the top left window of the SoundBank).
3. Select the "Play Wave" event for the track within the sound that you want to play forever (in the top right window of the SoundBank). Note that most sounds will only have a single Track associated with them.
4. Within the property grid (lower left window of XACT), find "LoopEvent" (within the Play Wave Properties), and select "Infinite" (if you want the wave to play forever), or specifiy "Finite", and select a number of loops ("LoopCount") if you only want it to play for a fixed number of repetitions.