La section Questions et réponses de la communauté Audiokinetic est un forum où les utilisateurs de Wwise et de Strata peuvent poser des questions et répondre à celles des autres membres de la communauté. Si vous souhaitez obtenir une réponse de la part de l'équipe de soutien technique d'Audiokinetic, veillez à utiliser le formulaire de Tickets de Soutien.

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!

demandé 3-Jun-2019 dans General Discussion par Alexander F. (100 points)

Please sign-in or register to answer this question.

...