lieff/minimp3
View on GitHub ↗ ★ 1,984 C
Minimalistic MP3 decoder single header library
6 mentions on Hacker News by 6 people: 1 story, 5 comments · first 2018-03-13 · latest 2023-01-04
20082026
-
…write extra .c files, and you won't bloat the obj files. This paradigm is fairly common, see, e.g.: https://github.com/lieff/minimp3 https://github.com/Immediate-Mode-UI/Nuklear https://github.com/mattiasgustavsson/libs/blob/main/docs/htt..…
comment by torstenvl · 2023-01-04 · in CLib: Header-only C library that implements the most important classes from GLib -
And for the other direction, there's minimp3: https://github.com/lieff/minimp3 I've used minimp3 to implement a MP3 player on a STM32 microcontroller. Works great -- it has no problem playing a 256kbps file at 80 MHz. :)
comment by duskwuff · 2022-04-13 · in Shine: A super fast fixed-point MP3 encoder -
An MP3 decoder is actually relatively tiny: https://github.com/lieff/minimp3 shows that it can be done in ~30KB of code. It's everything else around the player, such as the UI, that takes up the bulk of the size.
comment by userbinator · 2020-09-04 · in Winamp Skin Museum -
…the links are all to the current master, which appears to have changed since this was written (e.g. https://github.com/lieff/minimp3/blob/master/minimp3.h#L232 doesn't point at the function with the bitshift anymore; I expect it should be…
comment by eridius · 2018-10-10 · in Porting C to Rust -
…recommends checking this one that is a clean re implementation, not the extraction of FFmpeg code: https://github.com/lieff/minimp3
comment by FraKtus · 2018-03-13 · in Honey, I shrunk the MP3 decoder (2007)