MP3AudioFormat and memory usage

This feels like a bit of a naive question, but I’d like to know if loading a potentially long mp3 file (20-30mins or more) into an AudioFormatReader would use the same memory footprint as a WAV file of similar length when using AudioTransportSource - does the whole thing get decoded, or does it stream and decode the file as it goes along?

It does scan the whole file, but that’s just to find out the length, it doesn’t store all the data.

1 Like