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.

Can I get the original duration of a looping source?

0 votes
Hi there!

I'm using Unity but that shouldn't matter much. I can get the duration of my playing sources quite easily through adding AkCallbackType::AK_Duration when posting an event, though the callback returns a duration of 0.0 if the source is looping.

I would like the duration at runtime and not just serialize it beforehand, ideally.

I understand the idea, but is there any other way to get the duration of the source (as if it wasn't looping)? Or should I loop the sound through another system instead of using the loop settings on the source?

 

Thanks!

Clement
asked Jun 7, 2022 in General Discussion by Clement C. (160 points)

Please sign-in or register to answer this question.

...