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.

UE4 and WWise Seeking

0 votes

Simple question, how would i go about making it possible to seek in BP so i could start an event like 1 sec in?

I've tried adding this to the UActorComponent.cpp that i saw on another thread and can make the function run from BP but nothing is happening when i Seek and then Post a AK event, suspecting there might be something wrong with the last line:

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);
}

Added Logs on AudioDevice.cpp that has SeekOnEvent but it is never run. 

Very suprised that this is not available by default :/

 

Thanks!

asked Jun 3, 2019 in General Discussion by Alexander F. (100 points)

Please sign-in or register to answer this question.

...