# Callback on markers in wave file instead of destination marker?

**URL:** <https://qa.fmod.com/t/callback-on-markers-in-wave-file-instead-of-destination-marker/13955>\
**Category:** FMOD Studio\
**Created:** [June 20, 2018, 6:36am UTC](https://qa.fmod.com/t/callback-on-markers-in-wave-file-instead-of-destination-marker/13955 "2018-06-20T06:36:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wandermyz](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@wandermyz](https://qa.fmod.com/u/wandermyz)\
**Post date:** [June 20, 2018, 6:36am UTC](https://qa.fmod.com/t/callback-on-markers-in-wave-file-instead-of-destination-marker/13955/1 "2018-06-20T06:36:25Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [June 26, 2018, 6:19am UTC](https://qa.fmod.com/t/callback-on-markers-in-wave-file-instead-of-destination-marker/13955/2 "2018-06-26T06:19:39Z")

</div>

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#/](https://fmod.com/resources/documentation-api?page=content/generated/FMOD_ChannelControl_SetCallback.html#/)
