From a5dd540bccc6ce20971a6680f076beedc13f2a95 Mon Sep 17 00:00:00 2001 From: BubsMcgee Date: Wed, 25 Nov 2026 14:11:53 -0500 Subject: xapu: decode Opus packets through runtime/opus_decoder (RT-XAPU-OPUS-DECODE) Builds on #1144 (RT-XAPU-CONNECT-LAYOUTS): the queue and layouts stay there; fill() decodes each process packet through a Rust C-ABI crate over BSD-3 opus-pure when cargo builds it, and keeps the table-of-contents silence path otherwise. Adds xapu_opus_test (a generated 440 Hz stereo packet decoded to 960 frames) and the CMake wiring; xapu_chad_test keeps covering the layouts and the silent path. No game data. --- runtime/opus_decoder/Cargo.lock | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 runtime/opus_decoder/Cargo.lock (limited to 'runtime/opus_decoder/Cargo.lock') diff --git a/runtime/opus_decoder/Cargo.lock b/runtime/opus_decoder/Cargo.lock new file mode 100644 index 000000000..1659ab14e --- /dev/null +++ b/runtime/opus_decoder/Cargo.lock @@ -0,0 +1,16 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "leonida-opus-decoder" +version = "0.1.0" +dependencies = [ + "opus-pure", +] + +[[package]] +name = "opus-pure" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2da6dcc20af557d030b6f206e75c764bcda8c28a5bd03c73935c7e8fcf5f4f4a" -- cgit v1.2.3