Repository navigation
mcpplibs.mwrap.dr_libs 2026.03.03: dr_libs-m (dr_wav, dr_flac, dr_mp3 as C++23 modules) - #614
Merged
Merged
Conversation
Sunrisepeak
force-pushed
the
compat-dr_libs
branch
from
October 28, 2026 12:31
8819d6a to
2a4d3b8
Compare
… 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
force-pushed
the
mwrap-dr_libs
branch
from
October 28, 2026 12:42
fbfc6ee to
7c68464
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.03on 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 assetmwrap-2026.03.03/dr_libs-m-2026.03.03.tar.gz(sha2560dc7ac0e…dbe2); CNgitcode.com/mcpp-res/mwrap-dr_libsrelease 2026.03.03, byte-identical;extensions.autoupdateonmwrap-${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 newdefaulttonetemplate → strict build/run → relocated self-contained bundle;check_installed_template.pygets the dr_libs deployment contract (wrapper LICENSE/NOTICE, dr_libs README/LICENSE, byte-identical)..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.macroswith 171 constants; 28 macros (attributes, stringification, dr_flac platform detection) in<mwrap/dr_libs/macros.hpp>; rootmcpplibs.mwrap.dr_libsre-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.