Learn
Read the code, one stage at a time.
Each walkthrough follows the data through a real pipeline, a plain-English explanation on one side and the exact source lines on the other, pinned to a commit so they never drift.
How the LHDC V5 decoder works
A 5 ms LHDC V5 frame carries two independently coded channels. Here is every stage that turns those bytes back into PCM, in the order the decoder runs them, with the real code beside each one.
8 stagesOpen →samsung-ssc-decoderHow Samsung SSC frames work
SSC turned out to be CELT 1.1 (from Opus) with fixed parameters and a handful of Samsung changes, most notably a 24-bit range coder. Follow one 864-sample frame through the decoder.
6 stagesOpen →ESP32-A2DP-SINK-WITH-CODECS-UPDATEDInside the BDK speaker DSP
The speaker’s DSP is integer-only: Q31 samples, precomputed coefficient tables, no floating point and no heap. Follow one stereo frame from the render task to the DAC. You can drive this exact code on the virtual speaker.
6 stagesOpen →