Is there a way to evaluate if an event is playing via c#?

Asked this on the Facebook group with no success. Figured I was gonna ask here as well.

Asking here since it’s unity-specific rather than FMOD specific:
Is there a way to evaluate is an event has finished playing?
Right now I am doing it via manually switching booleans around, but the build-in audio solution for Unity has an audio.isPlaying that you can use; is there a way to do this with fmod?

Via a custom method you can call maybe?
Using so many events now that manually switching with bools are starting to get confusing. Might have to re-structure everything (hello plan first, create later, nice to meet you…)
Any pointers?


FMOD.Studio.PLAYBACK_STATE playbackState;    
instance.getPlaybackState(out playbackState);
bool isPlaying= playbackState != FMOD.Studio.PLAYBACK_STATE.STOPPED;