Repository navigation
XAudio2: reject streams wider than two channels - #1886
mokkamokacaffe wants to merge 1 commit into
Conversation
b03c081 to
91deb1b
Compare
Melow-code
left a comment
There was a problem hiding this comment.
Rejecting streams wider than two channels is the right guard — XAudio2's mixing path assumes stereo or mono.
|
NVIDIA test report for Tested
Regression run ( base ( this PR: Not tested: the world load (the smoke runs stop at the start screen, so code that only runs later is not exercised there); AMD. AI use: Claude Code (Claude Opus 5.5) built and ran the tests and smoke runs on my machine and wrote this report; I checked it. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
PR #1886 compatibility verificationTested detached head Tested
Of the 25 failures, 20 GPU tests hit The log has 25 Not tested Audio-endpoint playback, D3D12 debug-layer paths, optional game samples, other GPU vendors, and retail-title smoke or comparison against AI use T3 Code / Codex ( |
StreamConfigis public, butDecoder::newonly checked the number of streams and the total channel count. Manually constructed configurations could therefore contain a zero-channel or three-channel stream. XMA streams support one or two channels, and decoder storage is fixed to two.What is in it
2 + 1configuration.Tested
91deb1b989d74934b158f99af23cf3d039908677, NVIDIA GeForce RTX 5080, Windows 11, rustc 1.100.0, DXC 1.8.2502.11.cargo build --workspace: passed.cargo test --workspace --no-fail-fast -- --test-threads=4: 972 passed, 4 failed, 45 ignored. The same four Direct-DXIL fuzz failures occur on base689f2db; this PR introduced no new failure.decoder_rejects_streams_outside_the_one_or_two_channel_xma_limit: passed.git diff --check: passed.Regression run
main:
PR:
Not tested
AI use