Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. Contact Sales if your project requires a support plan.

Possible to seek in ue4 integration?

0 votes
I am trying to start events at a certain point, not just from the start of the sound. Is there any way to do this from UE, potentially thru some RPTC's?

 

Also curious on how to get the length of an event from in UE4.

 
Thank you!
asked Jan 11 in General Discussion by Evan B. (150 points)

1 Answer

+1 vote
 
Best answer
Hi Evan B!

So yes.... with a little bit of hacking. You have to hack it into AKComponent. If you're savvy enough to jump into the code I can try and help you out!

 

-Rob
answered Jan 16 by Robert M. (4,570 points)
selected Jan 17 by Evan B.
does the function have a category? it won'ts how up sometimes if you dont. also generate project files.
Hey Robert, turned out I had to delete the bin and intermediate folders in the plugin directory..then it would build. thanks for all your help!

Is there any chance I could get you to show me an example (like u did above) of how to expose SetMultiplePositions()? I have been researching for weeks and cannot get it to build properly.

Thanks so much!
Unfortunately no. :( sorry mate.
.cpp:

void UAkComponent::Seek(int32 MilliSeconds, const FString& IDNumber)
{
    AkTimeMs MilliSec = MilliSeconds;
    AkUniqueID AkIDNumber = FCString::Atoi64(*IDNumber);
    AK::SoundEngine::SeekOnEvent(AkIDNumber, (AkGameObjectID) this, MilliSec, false, (AkPlayingID)AK_INVALID_PLAYING_ID);
}


Hey Robert,

sorry to come back to this, but it seems seeking is still not supported in your UE4.16 integration. What are your plans to add this to the plugin ?


Thank you,
Oliver
Hey! I actually got version frozen on .14 unfortunately so I can't help you there :/ I haven't gotten the time to check it out sorry. This was a work around that I was able to do in the code myself. I am not a dev hehe so I can't just add it in directly to the plug in
...