Skip to content

XAudio2: reuse validated Opus multistream scratch - #106

Draft
bmjask wants to merge 1 commit into
stack/102-bcpack-bit-tablesfrom
stack/103-opus-multistream-scratch
Draft

bmjask wants to merge 1 commit into
stack/102-bcpack-bit-tablesfrom
stack/103-opus-multistream-scratch

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #105.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates xaudio2: reuse validated opus multistream scratch as one reviewable step in the redesign.

Upstream overlap

This overlaps upstream PR xcl-dev#2696 and is retained only as an internal reconciliation draft.

What is in it

  • 2e262d80 is the cleaned-stack form of integrated commit f9b574b4.

The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.

Tested

Tests were not rerun while packaging this already-integrated change into the draft stack.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.

@bmjask
bmjask force-pushed the stack/103-opus-multistream-scratch branch from 2e262d8 to f6cfbf4 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/102-bcpack-bit-tables branch from bfbe3f2 to 9be8cad Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/103-opus-multistream-scratch branch from f6cfbf4 to 8cecd76 Compare November 27, 2026 01:01
Reuse self-delimited packet and per-stream PCM buffers, precompute defensive channel mappings, and reject cross-stream duration mismatches before any decoder state advances. Keep bulk output copying and broad output preallocation out of this logical change.

Assisted-by: Google Antigravity (Gemini 4 Neon)
Co-authored-by: Decodere <98278826+Decodere@users.noreply.github.com>
Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/103-opus-multistream-scratch branch from 8cecd76 to ca3e67f Compare November 27, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant