diff options
| author | BubsMcgee <alexbraden99@gmail.com> | 2026-11-25 14:11:53 -0500 |
|---|---|---|
| committer | BubsMcgee <alexbraden99@gmail.com> | 2026-11-25 14:11:53 -0500 |
| commit | a5dd540bccc6ce20971a6680f076beedc13f2a95 (patch) | |
| tree | 5b5c60d1027384485d63b57e35def6bd38e65ee6 /runtime/opus_decoder/Cargo.toml | |
| parent | 6ee7ef89b948a9942f5de0b61d1f6756f477d6d5 (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.toml | 16 |
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] | ||
| 2 | name = "leonida-opus-decoder" | ||
| 3 | version = "0.1.0" | ||
| 4 | edition = "2021" | ||
| 5 | license = "GPL-3.0-or-later" | ||
| 6 | publish = false | ||
| 7 | |||
| 8 | [lib] | ||
| 9 | name = "leonida_opus_decoder" | ||
| 10 | crate-type = ["staticlib", "rlib"] | ||
| 11 | |||
| 12 | [dependencies] | ||
| 13 | opus-pure = "0.2.4" | ||
| 14 | |||
| 15 | [profile.release] | ||
| 16 | panic = "unwind" | ||