Distinguishing FMOD_STUDIO_EVENT_CALLBACK_STOPPED callbacks

Is there a way to distinguish when a FMOD_STUDIO_EVENT_CALLBACK_STOPPED callback happens due to having stop() called, and when it is called due to reaching the end of the timeline? I have code that I only want to fire when an event reaches its conclusion.

At the moment there is no way to determine the cause for stopping.
You could use a timeline marker at the end of your event to figure out if the event is played out. Otherwise you could create your own function for calling stop on an event, that could let you know when it is manually called.

1 Like