Skip to content

chore(mp3): make minimp3 sole backend and remove libhelix #4056

Closed

Description

@zackees

Context

Phase 5 / G5 of FastLED/license#14. This closes the licensing loop only after fixed-point minimp3 meets all correctness, memory, CPU, and SIMD gates.

Proposal

Make minimp3 the default, complete the release/deprecation transition, delete the RPSL/RCSL Helix tree, lock all decoder quality/performance evidence into required CI, and upstream the reusable CC0 changes.

Acceptance criteria

  • Capture RED evidence: the lock-in check fails while Helix is still the default/present and required decoder gates are not all enforced.
  • Make FASTLED_MP3_BACKEND_MINIMP3 the default and retain Helix only as a warned FASTLED_MP3_HELIX_LEGACY opt-in for one minor release.
  • Complete the full Feasibility: MINIMP3_FIXED_POINT — CC0 fixed-point minimp3 mode, golden-tested vs float, to replace RPSL libhelix_mp3 license#13 acceptance run: golden gates, 72-hour zero-divergence differential fuzzing, A/B listening sanity, and on-target 44.1 kHz stereo 320 kbps budgets (ESP32-C3/RP2040 at most 60% core; ESP32 at most 25%).
  • After the one-minor-release transition, delete src/third_party/libhelix_mp3/, its library.json assembly filter, and all remaining production/test references.
  • Update third-party manifest, per-file markers, REUSE/SBOM output, release notes, and the Strategy: project-agnostic GPL/free-software compatibility exception license#10 libhelix audit/legal-review records.
  • Make golden corpus, fuzz smoke, memory ledger, CPU trend, and SIMD bit-exactness required checks for changes under minimp3 and src/fl/codec/mp3*; add CODEOWNERS coverage.
  • Submit the scratch/fixed-point/SIMD work upstream to lieff/minimp3, or document the maintained minimal in-tree CC0 diff if upstream is dormant.
  • Prove on main that Helix is absent and every lock gate is required; verify one shipped minimp3-default release has no decoder regression reports.
  • Turn the focused RED signal GREEN, pass broader checks, and merge a PR that closes this issue and links Execution plan: vendor minimp3, optimize to Helix parity, SIMD past Helix, delete libhelix_mp3 (phased, gated) license#14.

Decisions

Related issues

Activity

  1. zackees commented on Aug 31, 2026

    @zackees
    MemberAuthor

    Blocked on G3/G4. Per the (reopened) FastLED/license#14 gate ladder, this issue owns G5 and cannot start until #4054 (G3, fixed-point) and #4055 (G4, SIMD) are green. Work is proceeding on #4054 first.

    Correction (owner decision, 2026-08-31): there is no one-minor-release compatibility window. An earlier revision of this comment claimed criteria 2 and 4 were separated by a shipped release and therefore needed two PRs. That is withdrawn. src/third_party/libhelix_mp3/ is deleted as soon as unit tests and perf tests pass on minimp3 — the flip and the deletion land in a single PR, and criterion 4's "after the one-minor-release transition" is superseded.

    Acceptance for this issue is therefore:

    Refs FastLED/license#14.

  2. moved this from Triage to Done in FastLED Trackeron Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions