Stopping Events in Studio

Where do you set the “one Shot” in FMOD Studio? Does the Studio version handle the stopping of events differently than “fire and forget”? Also, is there a way to find out what markers are in an event through the API?


One shot is automatically determined by examining the event for loop regions, looping instruments, etc.

If an event is one shot, you can all EventInstance::start() followed by EventInstance::release() and the event will clean itself up when it reaches the end.

You cannot iterate markers in the API, only register a callback using EventInstance::setCallback() that will get called when a marker is hit.