0
0

I’m working on implementing a method to stream data from an fsb file that exists in our internal compressed file format. Our file system loads data asynchronously, meaning that the data may not become available until a few frames after my file open callback is hit (it is not yet available when the first file read callback is called). Is there any way (maybe via an FMOD::result) to suspend the read callback until the data is available?

  • You must to post comments
0
0

No, when fmod wants the data it needs it there and then. All you could do is put a semaphore wait until your data is ready but that will block whatever fmod is doing. If it is trying to read a header to determine a file format for example, it can’t just defer that logic, it needs to know it right away.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.