Skip to content

mcpplibs.mwrap.dr_libs 2026.03.03: dr_libs-m (dr_wav, dr_flac, dr_mp3 as C++23 modules) - #614

Merged
Sunrisepeak merged 1 commit into
mainfrom
mwrap-dr_libs
Oct 28, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
mwrap-dr_libs

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Based on main, which now has compat.dr_libs 2026.03.03 (#610); rebased onto it.

Adds mcpplibs.mwrap.dr_libs 2026.03.03 — mcpplibs/dr_libs-m (PR mcpplibs/dr_libs-m#1, merged; tag mwrap-2026.03.03 on the merged main commit 0d4c72e), dr_wav 0.14.5 / dr_flac 0.13.3 / dr_mp3 0.7.3 (MIT-0 OR Unlicense) as C++23 modules over compat.dr_libs.

  • pkgs/mwrap/dr_libs.lua: form A, release asset mwrap-2026.03.03/dr_libs-m-2026.03.03.tar.gz (sha256 0dc7ac0e…dbe2); CN gitcode.com/mcpp-res/mwrap-dr_libs release 2026.03.03, byte-identical; extensions.autoupdate on mwrap-${version}.
  • tests/mwrap/dr_libs-audio (member): behavior (a WAV written and read back; a FLAC stream built in the test — CONSTANT subframes with their CRC-8/16 — decoded and seeked; an MP3 decoded to its LAME-gapless 4410 frames with a dominant 440 Hz), one header's module alone (mcpplibs.mwrap.dr_libs.flac), and the side header beside the import.
  • validate.yml: installed archive → mcpp new default tone template → strict build/run → relocated self-contained bundle; check_installed_template.py gets the dr_libs deployment contract (wrapper LICENSE/NOTICE, dr_libs README/LICENSE, byte-identical).
  • CHANGELOG entry and .agents/docs/2026-10-28-add-dr_libs-mwrap-plan.md.

Module surface: mcpplibs.mwrap.dr_libs.wav (42 types, 48 enumerators, 94 functions), .flac (32, 6, 31), .mp3 (28, 8, 29), each complete on its own; mcpplibs.mwrap.dr_libs.macros with 171 constants; 28 macros (attributes, stringification, dr_flac platform detection) in <mwrap/dr_libs/macros.hpp>; root mcpplibs.mwrap.dr_libs re-exports all.

Locally (mcpp 2026.10.26.1, gcc 16.1.0): bash tests/run_members.sh dr_libs-audio → test result ok (3 passed); python3 tests/mwrap/check_installed_template.py --package mcpplibs.mwrap.dr_libs@2026.03.03 --deploy → template built strict and run, Verified 4 byte-identical wrapper/dr_libs license files, relocated bundle verified.

@Sunrisepeak
Sunrisepeak changed the base branch from compat-dr_libs to main October 28, 2026 12:42
… as C++23 modules)

Descriptor pkgs/mwrap/dr_libs.lua (form A, the immutable mwrap-2026.03.03
release asset; CN is the gitcode mcpp-res/mwrap-dr_libs mirror with the
same bytes), over compat.dr_libs 2026.03.03. Consumer tests/mwrap/dr_libs-audio:
a WAV written and read back, a FLAC stream built in the test decoded and
seeked, an MP3 decoded to its LAME tag's gapless length with its 440 Hz
tone, one header's module alone, the mapped macros, and the side header
beside the import. The installed-template check in validate.yml with its
deployment contract (the wrapper's LICENSE/NOTICE, dr_libs' README and
LICENSE, byte for byte in a relocated bundle), and the plan.
@Sunrisepeak
Sunrisepeak merged commit e403417 into main Oct 28, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant