Could you elaborate on how to get this working, i tried adding this to UAkComponent:
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);
}
And the corresponding declaration in .h and can get the function to call from BP but nothing is happening when i for example spawn an ak event, seek and then post it, or if i spawn it, post it, then seek.
I suspect there is soemthing from with the line:
AK::SoundEngine::SeekOnEvent(AkIDNumber, (AkGameObjectID) this, MilliSec, false, (AkPlayingID)AK_INVALID_PLAYING_ID);
I added UE_LOGs at AudioDevice.cpp that has some SeekOnEvents but they never get printed.