So, there are a few considerations:
First, .aiff is not a good format to use at all. Use .wav instead. More explicitly, you want linear PCM 16-bit signed little endian. AIFF is usually big-endian.
Second, AAC will save disk space. However, it does not save RAM. All formats are decoded to linear PCM when loaded. So in RAM, the AAC will be no different than the linear PCM .wav.
We also have some notes in the documentation that ‘perfectly looping sounds’ may be hard to achieve with ‘lossy’ compression formats like AAC, so be careful here.
I haven’t benchmarked whether AAC or WAV is faster to load into memory. You might give it a try and let us know of your results. Potentially, AAC might be able to use a hardware decoder. WAV on the other hand is dead-easy to load to begin with so I don’t know which has an advantage.
[import]uid: 7563 topic_id: 4300 reply_id: 13406[/import]