docs: record the XDSP impulse-response layout as documented in the GDK 2026.10 public docs (#17 follow-up) #606

Open
opened 2026-11-28 12:03:05 +00:00 by AnastasisKon · 4 comments
AnastasisKon commented 2026-11-28 12:03:05 +00:00 (Migrated from github.com)
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T12:03:05Z.


What

The GDK 2026.10 public docs (XDK MarkdownDocsOnly package) now document the XDSP impulse-response layout that docs/native-host.md's reverb section and crates/victory-hle/src/modules/dsp.rs call unknown: frequency-domain, interleaved complex float pairs; processed in blocks (convolution block sizes 512/1024 frames); optional trailing reduction block (signature 0xFFFFACE1, then up to 15 little-endian (u16 cutoff, u16 block index) entries with strictly increasing block indices); stereo IR doubles the buffer; mono/stereo only; base buffer 64K-aligned physical XMemAlloc >= 64KB. Finding posted on #17.

Fix

Record this in docs/native-host.md's "Reverb and convolution DSP" section and in dsp.rs's module comment, replacing "not documented / not known" with the documented layout (in our own words, citing the public GDK 2026.10 XDSP docs by page name), marked as not yet verified against a real run. No behavior change: VICTORY_GUESS_DSP stays the synthetic fallback until a run confirms the layout; VICTORY_TRACE_DSP/VICTORY_DUMP_DSP stay as the way to confirm.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:6664677210 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/606). Originally posted by [AnastasisKon](https://github.com/AnastasisKon) on 2026-11-28T12:03:05Z. --- ## What The GDK 2026.10 public docs (XDK MarkdownDocsOnly package) now document the XDSP impulse-response layout that `docs/native-host.md`'s reverb section and `crates/victory-hle/src/modules/dsp.rs` call unknown: frequency-domain, interleaved complex float pairs; processed in blocks (convolution block sizes 512/1024 frames); optional trailing reduction block (signature 0xFFFFACE1, then up to 15 little-endian (u16 cutoff, u16 block index) entries with strictly increasing block indices); stereo IR doubles the buffer; mono/stereo only; base buffer 64K-aligned physical XMemAlloc >= 64KB. Finding posted on #17. ## Fix Record this in `docs/native-host.md`'s "Reverb and convolution DSP" section and in `dsp.rs`'s module comment, replacing "not documented / not known" with the documented layout (in our own words, citing the public GDK 2026.10 XDSP docs by page name), marked as not yet verified against a real run. No behavior change: `VICTORY_GUESS_DSP` stays the synthetic fallback until a run confirms the layout; `VICTORY_TRACE_DSP`/`VICTORY_DUMP_DSP` stay as the way to confirm.
AnastasisKon commented 2026-11-28 12:03:12 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T12:03:12Z.


/claim

Docs-only: record the documented XDSP IR layout in native-host.md and dsp.rs comments. Draft PR from my fork vibe/ branch to follow.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7238959544 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/606#issuecomment-7238959544). Originally posted by [AnastasisKon](https://github.com/AnastasisKon) on 2026-11-28T12:03:12Z. --- /claim Docs-only: record the documented XDSP IR layout in native-host.md and dsp.rs comments. Draft PR from my fork vibe/ branch to follow.
github-actions[bot] commented 2026-11-28 12:03:22 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-28T12:03:22Z.


Claimed by @AnastasisKon. Open a draft pull request with Refs #606 in its description within 24 hours, or the claim expires.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7238961523 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/606#issuecomment-7238961523). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T12:03:22Z. --- Claimed by @AnastasisKon. Open a draft pull request with `Refs #606` in its description within 24 hours, or the claim expires.
AnastasisKon commented 2026-11-28 12:37:16 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T12:37:16Z.


/release - done: PR #607 records the XDSP impulse-response layout from the GDK 2026.10 docs. One note for review: in the merged doc I kept #385's 64 MiB VICTORY_DUMP_DSP cap wording and #607's wording that the layout is now documented, since the two edits collided.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7239352882 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/606#issuecomment-7239352882). Originally posted by [AnastasisKon](https://github.com/AnastasisKon) on 2026-11-28T12:37:16Z. --- /release - done: PR #607 records the XDSP impulse-response layout from the GDK 2026.10 docs. One note for review: in the merged doc I kept #385's 64 MiB `VICTORY_DUMP_DSP` cap wording and #607's wording that the layout is now documented, since the two edits collided.
github-actions[bot] commented 2026-11-28 12:37:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-28T12:37:25Z.


Released. This issue is free to claim.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7239354687 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/606#issuecomment-7239354687). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T12:37:25Z. --- Released. This issue is free to claim.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
LakshanSivakumar/Native-Victory-macOS#606
No description provided.