We’re using the ‘setFileSystem’ override function, with blockalign set to 2048. Unfortunately, our file system requires not only that reads be a multiple of 2048 bytes in length (which is what the setFileSystem blockalign call seems to do), but also that all reads start from a 2048-byte-aligned boundary. When I have > 1 sound in a streaming bank this doesn’t always seem to be the case.
Is there any way to specify in the designer that a bank should be built with particular alignment restrictions (i.e. all tracks in this bank start at an offset that’s a multiple of 2048)?
- rwbmaclean asked 11 years ago
Thats a pretty restrictive file system. FMOD reads in blocks as well but it doesnt restrict you from reading 1 byte. Your file system should have a buffering layer on top of it to handle these cases.
You can’t change fsbank’s fsb alignment, though they do have a default alignment (what it is I can’t remember right now)
Please login first to submit.