menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

0 투표
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!
General Discussion Tom W. (100 포인트) 로 부터

Please sign-in or register to answer this question.

...