FMOD Studio Suite iOS - triggerCue() deprecated?

I shipped my iOS game ("Finished! by Friedemann Friese) with FMOD studio engine 2.0. I’ve updated FMOD to 2.0.2, but I see now that triggerCue() is no longer part of fmod_studio.hpp for iOS though (I used the fmodstudioapi20203ios-installer) so I can’t successfully compile any more.

There’s a new function protoype in the .hpp near there called keyOff() but no sign of triggerCue() or of clues about what to do without it.

FMOD_RESULT F_API triggerCue(); // What do I use instead of this?

I’ve spent an hour on this now I can’t find anything in the change docs or forum discussions etc. Am I missing something because this seems important! :slight_smile: It’s important to me anyway, because my game is broken. I thought there might be comments in the include files or docs on the DMG describing how to move forward with functions that have been deprecated, but I can’t find anything. If you can point me in the right direction I’d be very thankful.

TriggerCue was renamed to KeyOff, the functionality is still the same.

You can find it mentioned in the release notes - https://www.fmod.com/resources/documentation-api?version=2.02&page=welcome-revision-history.html

We only make api changes like this in major versions (2.01 to 2.02 for instance, but not 2.02.00 to 2.02.03), so it’s worth checking the revision history when swapping major versions)

1 Like

Ah, got it – thanks! This is my first time using FMOD and I didn’t realize keyOff() meant the same thing. Thanks for answering my question so quickly.

Ah – I see what I did wrong. I went to the FMOD Studio revision history, but not to the normal FMOD API revision history. https://www.fmod.com/resources/documentation-studio?version=2.02&page=welcome-to-fmod-studio-revision-history.html