Hi everyone. Just wanted to give an update regarding ffmpeg support.
I've been working on adding ffmpeg support to ctrmus over the past couple of days; you can have a look at my work so far
here.
Adding ffmpeg support is becoming a bit of a pain because each decoder in ffmpeg may output audio in varying formats. For example, flac music is decoded to signed 16 bit (which is what the 3DS uses, so that's great). But the AAC decoder outputs either floating point or signed 32 bit buffer. This means that I'll have to find a way of converting between the possible output formats to signed 16 bit. I think this may be possible using libswresample, but I'm not sure. This requires a lot of research, and so therefore this feature may take quite a while to finish.
Currently, ctrmus in the ffmpeg branch can open all files that ffmpeg supports (including AAC, MKV, MP3, etc.), and displays metadata on the top screen, but playback is
incredibly horrible due to the feature being in very early stages.
In addition, I'm going to be busy with work for the next 3 days so progress will be limited during this time.
Thanks for you support.
Give me a shout if there are any questions.