Fix audio CLI discovery for ADAT banks with over 256 streams #62
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/rpatty-dev--PercyStar!62
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-62"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@kaoru-maki on GitHub · 2026-11-26 10:57 UTC · original
kaoru-maki:patch-1→main· +91 −1 · 2 files · 2 commits · openSummary
--decode-audioskips ADAT banks with more than 256 declared streams. Check whether the stream table can fit in the bounded ADAT header, using the two-byte minimum per stream entry.The regression test encodes silence at runtime and puts a 257-stream bank before a one-stream control bank. With a one-bank limit, the original CLI exports the control bank. The patched CLI exports all 257 WAVs from the first bank and the test checks their location and PCM frame count. All inputs are generated by the test.
Verification
cargo test --offline --lockedpassed 170 tests on macOS arm64, with 10 ignored.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.