Skip to content

XAudio2: remove locks and copies from source submission - #104

Draft
bmjask wants to merge 1 commit into
stack/100-texture-transition-plansfrom
stack/101-xaudio-source-fast-path
Draft

bmjask wants to merge 1 commit into
stack/100-texture-transition-plansfrom
stack/101-xaudio-source-fast-path

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #103.

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

What and why

This unit isolates xaudio2: remove locks and copies from source submission as one reviewable step in the redesign.

What is in it

  • 01f89cf7 is the cleaned-stack form of integrated commit 15106baa.

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/101-xaudio-source-fast-path branch from 01f89cf to f88add7 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/100-texture-transition-plans branch from 5748111 to c42d986 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/101-xaudio-source-fast-path branch from f88add7 to 7d12ecb Compare November 27, 2026 01:01
Mirror patched vtable originals in a fixed atomic fast table, bypass silent and decoded voice maps when they are empty, and submit decoder-owned PCM16 storage without allocating a second byte buffer. Make shared silence allocation retryable and keep decoded-error fallback storage bounded when it is unavailable.

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/100-texture-transition-plans branch from c42d986 to c3aa6ee Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/101-xaudio-source-fast-path branch from 7d12ecb to 42d24ca 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