Hacker GitHub

← All repos

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

Mentions per year 6 mentions · busiest year 2018 (3)
20082026
  1. …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..…
  2. 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. :)
  3. 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
  4. …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
  5. ▲ 44
    Minimp3 – Minimalistic, single-header library for decoding MP3
    story by lieff · 2018-09-22 · 10 comments
  6. …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)