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. 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 in General Discussion by Alexander F. (100 points)

Please sign-in or register to answer this question.

...