0
0

[I apologize in advance if this is a lame question and I am just not seeing the answer right in front of me.]

I am playing a wav file with multiple sync points [markers] I created in Audition and have a callback triggering in response to the sync points.

Is there anyway for FMOD to tell me information about the most recent sync point encountered for the callback? Information such as the index number of the sync point or name associated with a point? Or do I have to create a mechanism to deduce it?

[Fingers crossed there is some "Most Recent Sync Point encountered" method or structure, that I haven’t noticed for whatever strange reason. If not, it would be a nice method to have in future version.]

Thanks in advance for any help.

Staque

  • You must to post comments
0
0

From the docs.

[code:24g9d821]
FMOD_CHANNEL_CALLBACKTYPE_SYNCPOINT
commanddata1: The index of the sync point. Use Sound::getSyncPointInfo to retrieve the sync point’s attributes.
commanddata2: Always
[/code:24g9d821]

If you have the index, then just use index – 1

  • You must to post comments
0
0

DOH! Smack Forehead

I knew it was going to be something right in front of me.

I apologize for not catching that.

But thanks for clearing it up! 😀

Peace

Staque

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.