0
0

I’m in the process of converting our engine to use the FMOD Designer tool (from a low-level API based system). If the player saves in the middle of an important audio message, we save the position in the save buffer using Channel::getPosition(). When we load, we use Channel::setPosition() to reset it back where it was.

Is there a way to do this equivalent with the Event system? I see FMOD_EVENT_INFO::positionms, which is probably a good equivalent of Channel::getPosition(). Is there a way to "skip ahead" in an Event, or some other way to accomplish what I need with the Event system?

Thanks!

  • You must to post comments
0
0

There is no setPosition() equivalent for the event system. It wouldn’t make sense in the context of a complex event with multiple sound definitions and parameters. For simple events you can just get the channel handle and do the getPosition()/setPosition() using low-level. If you’re event has multiple sound definitions controlled by a parameter you might need to set the parameter value first and then setPosition() the channel.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.