logoalt Hacker News

tsirytoday at 8:14 AM1 replyview on HN

they're at different layers. libmpv is a full media player: demuxing, decoding (via FFmpeg), DSP, output. cpal is just a thin cross-platform PCM sink on top of CoreAudio/ALSA/WASAPI/etc.

Rockbox already brings its own decoders (20+ codecs), its own DSP chain (crossfeed, EQ, replaygain, gapless), and its own mixer. I just need the host OS to accept PCM frames. cpal is the minimal portable shim for that; pulling in libmpv would mean discarding Rockbox's audio pipeline and replacing it with FFmpeg's, which would basically defeat the point of building on Rockbox firmware.


Replies

PokemonNoGotoday at 11:47 AM

>which would basically defeat the point of building on Rockbox firmware.

What is the point of bulding on Rockbox firmware? I love Rockbox myself too so the answer can be "fun" and that is all right.

show 1 reply