Skip to content

XAudio2: bulk-copy decoded PCM output - #151

Draft
bmjask wants to merge 1 commit into
stack/147-node-persisted-compute-blobsfrom
stack/148-bulk-copy-pcm
Draft

bmjask wants to merge 1 commit into
stack/147-node-persisted-compute-blobsfrom
stack/148-bulk-copy-pcm

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #150.

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

What and why

This unit isolates xaudio2: bulk-copy decoded pcm output 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

  • 158a3de9 is the cleaned-stack form of integrated commit a0f55664.

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/147-node-persisted-compute-blobs branch from 2e528fb to ac6bf68 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/148-bulk-copy-pcm branch from 158a3de to 2306884 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/147-node-persisted-compute-blobs branch from ac6bf68 to 9a6cec5 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/148-bulk-copy-pcm branch 3 times, most recently from e1ca659 to 6198484 Compare November 27, 2026 12:35
The Windows Opus decoder converted PCM16 output one sample at a time. Copy complete little-endian samples into the reserved output buffer in one operation while preserving scalar float conversion and partial-sample handling.

Adapted from PR xcl-dev#2696 by Decodere and Google Antigravity (Gemini 4 Neon), which measured the 3840-byte PCM16 append at 1024.4 ns before and 31.5 ns after. The Windows GNU cross-target library/test check passes; native Windows audio execution was unavailable.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/147-node-persisted-compute-blobs branch from 31d79c4 to efdebc8 Compare November 28, 2026 01:35
@bmjask
bmjask force-pushed the stack/148-bulk-copy-pcm branch from 6198484 to 6046729 Compare November 28, 2026 01:35
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

@github-actions github-actions Bot added the stale label Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant