So I’m working on creating some loading methods so we only load exactly what we need at first, then async load other stuff for later. Basically, I want to have multiple tracks or banks, but only load the tracks/banks I need for the first event, then load everything else later.
I thought this was something to deal with loadBank methods, but I’m finding that it’s not the case at all. I find that the load times seems to be between ‘preRun’ and ‘onRuntimeInitialized’ functions, where the time between is based on the FMOD.FS_createPreloadedFile() funciton. However the documentation doesn’t make this clear, nor does it seem to give us other options.
Could I call this function later on to load/download other banks/files in the lifetime? Or does it absolutely need to be called in the preRun funciton?
Is there any other way to async load/download audio files/banks so I don’t have to wait 1-5 minutes before starting the first event, when I only need one audio bank?