Answered
0
0

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,

  • You must to post comments
Best Answer
0
0

Syncpoint callbacks have not been made to work with Studio, we recommend using the Studio tool for markers.

To use the syncpoint callbacks, you need to work with the channel and channelgroups:
https://fmod.com/resources/documentation-api?page=content/generated/FMOD_ChannelControl_SetCallback.html#/

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.