0
0

Version: FMOD Ex v4.35.05 (C++)

Hi.
I have some questions about event system.

I use a event system.
I load sound bank file(.fsb) from memory.
So I call EventSystem::preloadFSB() function.
I call EventSystem::getEvent() and Event::start() functions when I play a sound by event.

I need to reduce the use of system memory.
But .fsb files are always occupy in system memory.
In event system,
can I load sound data file(.wav, .ogg, …etc.) directly (not in sound bank)
or load from sound bank file(.fsb) which was’t loaded into system memory ?

Importantly,
I must load sound bank file(.fsb) or sound data file(.wav, .ogg, …etc.) from memory,
because it is packed. (ex. soundbank.pak, sounddata.pak)

Please answer my question and let me know if there is a good way.

  • You must to post comments
0
0

[quote:32vixkui]Importantly,
I must load sound bank file(.fsb) or sound data file(.wav, .ogg, …etc.) from memory,
because it is packed. (ex. soundbank.pak, sounddata.pak)[/quote:32vixkui]

It is not uncommon for developers to be using FSBs from inside their own pak files. This does not always necessitate loading the whole thing into memory. The most common approach is to overload the FMOD file system callbacks. That way FMOD can read data from the pak file without loading the whole thing into memory.

  • You must to post comments
0
0

I succeeded by FMOD file system callbacks.
Thank you for your answer.

  • You must to post comments
0
0

You’re welcome, I’m glad to hear you got it working. :)

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.