Add mp3 file support
deltabeard opened this issue · comments
Mahyar Koshkouei commented
It's inferior to Opus as a lossy codec, but it is still very common. According to this article libmpg123 is faster than libmad, but libmad has already been added to 3ds-portlibs.
An attempt should be made to compile and use libmpg123 before using libmad as it is faster, and seems to be able to output 16 bit PCM audio directly*. libmad outputs 24 bit PCM, which will then require processing to reduce to 16 PCM - if my understanding is correct.
*The DSP module can only play 16 bit PCM.
Mahyar Koshkouei commented