listed near the top of the new feature list for FMOD Ex 4.03 was the item "compressed sample playback support". Can someone provide a little more explanation on what this is actually referring to. The item itself isn’t terribly clear to me.
- boydpost asked 12 years ago
Thanks for the reply…but I’m still not sure I’m getting the distinction. I was under the impression that this was how all engines worked…that is keeping all assets compressed while processing and mixing, and only decompressing at the play buffer.
So let me see if I have this straigt:
I want to play back a 10 MB file that has been xma compressed at a 10:1 ratio so that the file is 1 Meg on disk.
If I don’t use this feature, I am going to need 10MB of system ram (uncomressed size of file) in order to play them?
…and if I use the feature I will only need 1MB?
- boydpost answered 12 years ago
It plays mp3/adpcm/xma in memory without decompressing them.
Most other engines would decompress them first, or have to stream them using the normal streamer engine which can be limited. FMOD plays them from memory as if they were normal samples, saving heaps of memory.
You have to use FMOD_CREATECOMPRESSEDSAMPLE to use this feature though.
Please login first to submit.