Through browsing through the forums, I have seen that GetTimelinePosition() is not accurate and a possible more accurate solution is using DSPClock which I can get through:
eventInstance.getChannelGroup(out FMOD.ChannelGroup channelGroup);
channelGroup.getDSPClock(out ulong DSPClock, out ulong parent);
However I can’t wrap my head on how I’ll be able to get the current time through that as the number is large.
I read from here: Get Playback Time . That you will need to compare it to a value retrieved earlier in time (i.e. when the event instance was started. So I tried retrieving the DPS clock when my event started then retrieved it in update minus the initial but the number still doesn’t resemble time.
Can anyone help me with an example code on how to do it right? For my use case I’ll need to retrieve the current time of the event in the update loop. Haven’t seen actual code snippet on how to properly use it. Thanks in advance!