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 from 2306884 to 4ecc7b9 Compare November 27, 2026 01:01
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/148-bulk-copy-pcm branch from 4ecc7b9 to e1ca659 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