upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder
AgeCommit message (Collapse)Author
11 daysdocs: build the prebuilt XMA2 decoder yourself, from this checkoutJan Trencansky
Configure checks only that the file passed with -DLEONIDA_XMA2_DECODER_LIB exists, not which source, version or target it was built from. Say so, and give the command that builds the library from this checkout's runtime/xma_decoder for x86_64-pc-windows-msvc, where it lands, that it needs only the Rust target (so it works on Linux), that the option stops CMake from rebuilding the decoder after source changes, and that a relative path given with -D is resolved against the directory CMake runs in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 daysruntime: accept prebuilt XMA2 decoder via -DLEONIDA_XMA2_DECODER_LIB ↵Madhyn
(BUILD-XMA2-PREBUILT-LIB)
11 daysci: link synchronization for the XMA2 ABI smoke testDanila Kupreenko
Adapted from LeonidaReforge/Leonida#23 (e932888842afccb38695cab4ce6c4ff6ca8b0dd7). AI-assisted (Codex).
11 daysacphal: recover SHAPE allocation and preserve XMA stream stateandretuta
11 daysacphal: synchronize XMA context words and bound the output ringandretuta
11 daysruntime: target the MSVC ABI for the Rust XMA2 decoderandretuta
11 daysacphal: decode XMA contexts with runtime/xma_decoder when cargo is availableandretuta
Replace the hand-written C++ XMA2/WMA Pro decoder with the Rust decoder already on main. runtime/CMakeLists.txt builds it at configure time when cargo is on PATH and links it into gta6rt and acphal_test (LEONIDA_HAVE_XMA2_DECODER); without cargo, if that build fails, or with the cl.exe fallback, XMA voices output silence for each packet's frame count. The ring engine decodes whole 2048-byte packets: the read offset and the loop points are used per packet, so a loop plays its end packet in full and restarts with a fresh decoder at the packet holding the loop start. The C ABI gains leonida_xma2_decoder_create_hardware (no first-frame drop, no 64-sample start skip), since the context carries its own skip. Tested: acphal_test 129 checks (silence) and 125 checks (Rust decoder, gnullvm build), 0 failures, 3 runs each, clang 23 / mingw x64; cargo fmt and cargo test (gnullvm); pytest build/docs suites 204 passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 days[RT-197] Add the XMA2 decoder C ABI boundary (#3441)edupode
Squash-merged after diff review of PR #3441