upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/opus_decoder/Cargo.toml
diff options
context:
space:
mode:
authorBubsMcgee <alexbraden99@gmail.com>2026-11-25 14:11:53 -0500
committerBubsMcgee <alexbraden99@gmail.com>2026-11-25 14:11:53 -0500
commita5dd540bccc6ce20971a6680f076beedc13f2a95 (patch)
tree5b5c60d1027384485d63b57e35def6bd38e65ee6 /runtime/opus_decoder/Cargo.toml
parent6ee7ef89b948a9942f5de0b61d1f6756f477d6d5 (diff)
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.
Diffstat (limited to 'runtime/opus_decoder/Cargo.toml')
-rw-r--r--runtime/opus_decoder/Cargo.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/opus_decoder/Cargo.toml b/runtime/opus_decoder/Cargo.toml
new file mode 100644
index 000000000..e3ed59bc3
--- /dev/null
+++ b/runtime/opus_decoder/Cargo.toml
@@ -0,0 +1,16 @@
1[package]
2name = "leonida-opus-decoder"
3version = "0.1.0"
4edition = "2021"
5license = "GPL-3.0-or-later"
6publish = false
7
8[lib]
9name = "leonida_opus_decoder"
10crate-type = ["staticlib", "rlib"]
11
12[dependencies]
13opus-pure = "0.2.4"
14
15[profile.release]
16panic = "unwind"