I used the following code to listen to marker callbacks:
FMOD_STUDIO_EVENT_CALLBACK_TYPE callbackMask = FMOD_STUDIO_EVENT_CALLBACK_CREATED
| FMOD_STUDIO_EVENT_CALLBACK_STARTED
| FMOD_STUDIO_EVENT_CALLBACK_START_FAILED
| FMOD_STUDIO_EVENT_CALLBACK_STOPPED
| FMOD_STUDIO_EVENT_CALLBACK_TIMELINE_MARKER
m_eventInstance->setCallback(FmodStudioSoundInstance::s_fmodEventCallback, callbackMask);
It seems the callback only works for “Destination Marker” that I add to the Timeline in Fmod Studio.
Previously in FmodEx, the “FMOD_EVENT_CALLBACKTYPE_SYNCPOINT” triggers on markers added to the wave file. Is there any way to have such callbacks in Fmod Studio API?
Thanks,