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....

[191 byte] By [Henzrake] at [2008-2-15]
# 1

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.

RobertHeitkamp-Microsoft at 2007-8-31 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: Audio / XACT...
# 2

Thank you for your kind answer!!

Ah~~~~~~!!

Thank you~ !!

Henzrake at 2007-8-31 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: Audio / XACT...