I’m new to FMod, and have a question about memory management. I’m using the C designer API, and want to free an entire group of events. I’ve loaded the group with FMOD_EventProject_GetGroupByIndex() with the cacheevents parameter set to true. As I understand it, this will instantiate all of the events in my group. When I unload the events in this group, I want to do it all at once, instead of releasing each individual event. I’ve tried calling FMOD_EventGroup_FreeEventData() with NULL for the event parameter, thinking that might free all the events in the group, but I get an "Invalid parameter" error. Any ideas? Thanks in advance.
- BitShift asked 8 years ago
- You must login to post comments