I use bass for my iOS game. I have a lot of small sound in ogg format (~5.5 MB) and music (also ogg format). I did profiling of app and found, game without sound takes ~100MB real memory, and with sounds (and music) it is about 140MB.
For music I use BASS_StreamCreateFileUser with custom reader from zip archive.
For sound I use BASS_SampleLoad and keep buffer for encoded data (ogg).
So, as I understand it should takes only 5.5 MB for sounds, and nothing for music (as it is streamed directly from fs).
How could it be 40MB difference? What is the best practice to use bass on iOS? How to minimize real memory usage?

Reply
Quote