Loads wave data and allocates event instances for all events within an event group. [/quote:2jblyz56]
lets say we have a tree like this:
Calling loadEventData on event group a, loads event data for all events under a, suba1 and suba2. If we have a handle to suba2 (EventGroup), what would be best way to determine if this specific event group has loaded (loaded as an adjective) event data for its child events?
- vesoljc asked 8 years ago
Hi vesoljc, since you problem relates to the designer API, I have moved this thread to the Designer forums.
To determine whether an Event or EventGroup has finished loading use Event::getState or EventGroup::getState and check that it doesn’t equal FMOD_EVENT_STATE_READY.
i still have a problem 😕
i have implemented the FMOD_ERR_FILE_UNWANTED flag, thus forcing users to manually preload event groups. now i’m creating an ingame "sound viewer", on which i’d like to show which event groups are loaded and which not.
however, groups that have not been loaded, still return READY via getState function, which is kinda logical.
is there a built in way to query this without manual tracking?
Please login first to submit.