Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

How to ensure there is only one instance of my loop playing?

0 votes

 

If you play an ambient loop event, is there a way to tell Wwise to ignore the play event if it is called again by the code when the loop is already running?
asked May 14, 2013 in General Discussion by Bernard R. (Audiokinetic) (35,110 points)

1 Answer

0 votes
 
Best answer

 

  • Open the sound in the Property Editor
  • Go to Advanced Settings tab
  • Set the Limit sound instance property
 
You can set it to Limit sound instance 1Globally
answered May 14, 2013 by Bernard R. (Audiokinetic) (35,110 points)
selected Aug 28, 2014 by Claude B. (Audiokinetic)
It is also recommended to set the 'when priority is equal' behavior to 'discard newest instance' so as to not retrigger the loop if it's already playing.
...