Repository navigation
opus-m 1.6.1: libopus 1.6.1, opusfile 0.12 and libogg 1.3.6 as C++23 modules - #1
Merged
Merged
Conversation
…erated from the pinned headers; the macros as constants, type aliases and typed CTL requests with *_ctl overloads; API, macro, header-mixing and link tests; export audit
… decoder conformance runner on the module; tools/run_conformance.py runs RFC 8251's test vectors (12 vectors, 5 rates, mono and stereo) with libopus's opus_compare
…ntation, CI (Linux x86_64 GCC/LLVM, Linux arm64, macOS, Windows), release and template workflows; the candidate compat index while compat.opus is unpublished
…ble clang on Windows)
…dows checkout no longer converts its line ends
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.
mcpplibs.mwrap.opus1.6.1 — Opus audio as C++23 modules overcompat.opus1.6.1,compat.opusfile0.12 andcompat.ogg1.3.6 (mcpplibs/mcpp-index#612). All three upstreams BSD-3-Clause; the wrapper Apache-2.0.Modules (generated from the pinned headers by
tools/gen_exports.py, audited bytools/check_exports.py):mcpplibs.mwrap.opus: libopus — 13 types, 87 functions (<opus.h>,<opus_multistream.h>,<opus_projection.h>); re-exports the three belowmcpplibs.mwrap.opus.file: opusfile — 10 types, 54 functions; libopusurl's 9 declarations (HTTP over OpenSSL, not built) left outmcpplibs.mwrap.opus.ogg: libogg — 12 types, 71 functionsmcpplibs.mwrap.opus.macros: 115 integer constants, 6 type aliases (opus_int,opus_int64…: macros or typedefs depending on the compiler), 54 CTL macros as constexpr functions returning a typedctl_request, with an overload of each of the 7*_ctlfunctions —opus_encoder_ctl(enc, OPUS_SET_BITRATE(64000))reads as in C; 22 attribute/keyword/check macros stay in<mwrap/opus/macros.hpp>Checks: API behavior (CELT/SILK round trips with final-range equality, 16/24-bit/float, FEC/PLC, multistream, projection, repacketizer, Ogg pages, opusfile memory/callbacks/file/tags/pictures/chains/seek/decode callback), every mapping against the raw headers, header mixing, the address of all 212 functions; RFC 8251's test vectors — 12 vectors × 5 rates × mono/stereo = 120 decodes with libopus's own
opus_compare; the Ogg Opus tool round trip; the defaulttonetemplate as an installed package.CI: Linux x86_64 GCC 16.1 / LLVM 23.1.3, Linux arm64 GCC 16.1, macOS LLVM, Windows LLVM; templates job. The compat namespace resolves from the index PR's branch until it is published (
tools/candidate_index.py, a no-op afterwards).