0
0

Since loadSoundData() accepts the FMOD_EVENT_NONBLOCKING flag, is there any way to know that it’s completed?

  • You must to post comments
0
0

Yes. Use Event::getState and EventGroup::getState, they will return FMOD_EVENT_STATE_READY when they’re are finshed loading otherwise they will return FMOD_EVENT_STATE_LOADING.

  • You must to post comments
0
0

I’m actually wondering about MusicSystem::loadSoundData() instead of Event or EventGroup.

  • You must to post comments
0
0

My mistake, I was thinking of EventProject::loadSampleData. Looking at the API documentation, there doesn’t appear to be anyway to check that.

  • You must to post comments
0
0

We are now planning to add support for this in the near future. We’re in the middle of preparing for a big release at the moment (4.33.00), so we’ll have to add it in the following release (4.33.01).

  • You must to post comments
0
0

Can I make a (hopefully) small request to go along with that?

Can we have EventProject::getState()? :)

Thanks!

  • You must to post comments
0
0

[quote="Adiss":2kdqppi8]Can we have EventProject::getState()? :)[/quote:2kdqppi8]
Unfortunately we don’t have time to add this right now, so I’ve added it to our tracker. If you poke us in a month or two we might be able to get to it then.

  • You must to post comments
0
0

As of FMOD 4.33.02, you can use FMOD_MUSIC_INFO.all_samples_loaded to check the status of MusicSystem::loadSoundData().

  • You must to post comments
Showing 7 results
Your Answer

Please first to submit.