Answered
0
0

Hi,

I just updated to Unity 5.2.2p1, which then required me to get the latest FMod Studio integration due to incompatibilities. After bringing in the newest FMod Studio Unity integration (10702) , some code broke that is trying to get the playback position of an event that was triggered. There used to be a “getPlaybackPos()” function on FMOD_StudioEventEmitter, but it looks like its gone. How can get I get at that information now?

thanks!

Mike

  • You must to post comments
Best Answer
0
0

There’s never been a getPlaybackPos() function in the official source of FMOD_StudioEventEmitter. I believe you’ve overwritten a local modification of the source.

  • You must to post comments
0
0

ha, you’re right. It looks like it was a helper function we had added to the integration that I forget was us:

public int getPlaybackPos()
{
    if (evt == null || !evt.isValid())
        return 0;

    int result;
    evt.getTimelinePosition(out result);
    return result;
}
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.