lieff / minimp3

Minimalistic MP3 decoder single header library
Creative Commons Zero v1.0 Universal
1.57k stars 213 forks source link

Raspberry Pi Pico compilation error in mp3d_scale_pcm #110

Open MrJake222 opened 1 year ago

MrJake222 commented 1 year ago

Error: selected processor does not support ssat r0,#16,r0 in Thumb mode.

How much slower is the no-assembler version? Is this a real issue?

akeamc commented 6 months ago

I'm trying to compile the Rust bindings (viriw/rmp3) for my RP2040, but am facing the same issue as you. Did you find a solution?

MrJake222 commented 6 months ago

I've abandoned this library as it's not feasible to decode MP3 on such a small processor (no floating point math).

BUT I've managed to get mp3 to decode using HelixMP3. Here is a link to my fork where I've already implemented some extension to it: namely the default implementation and cmake support. Feel free to take a look.

akeamc commented 6 months ago

Thanks for the speedy reply, to a thread this old! I'll give HelixMP3 a shot.