Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
Hi there,

I'm creating a culling system in my game engine that will stop emitters, cache their events, and store a time stamp - in order to reduce voices etc. Then when they are un-culled, it posts the events and seeks on them so they play as if they hadn't been stopped.

The issue I am having is events with random containers. When you try to seek on them, there is an error from Wwise. Documentation states to not seek on such events. That would be fine, we just let emitters with those events play as normal.

Except I can't find a way to know in code before seeking on an event that that event will have random containers on it. There doesn't seem to be a query for this, or any information we can read from the SoundbanksInfo.xml

Is there a way around this?

More broadly, is there a way to tell whether seeking on a particular event is safe?

 

Using Wwise version 2021.1.6

 

API Call made:

AK::SoundEngine::SeekOnEvent

Errors I am hitting:

AK Error: Cannot seek in sound that is within a continuous container with special transitions
AK Error: Seeking after end of file. Playback will stop

The second of which seems to be the result of the duration being variable due to random containers.

Thanks for any help!
in General Discussion by Tom W. (100 points)

Please sign-in or register to answer this question.

...