XAudio2: reject streams wider than two channels #1876

Closed
mokkamokacaffe wants to merge 1 commit from upstream-pr/1886 into main
mokkamokacaffe commented 2026-11-24 22:34:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mokkamokacaffe on 2026-11-24T22:34:35Z.


StreamConfig is public, but Decoder::new only 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

  • Enforce one or two channels for every stream before constructing stream decoders and FIFOs.
  • Keep the aggregate channel-count check after the per-stream invariant.
  • Add regression cases for zero-channel and three-channel configurations and a valid 2 + 1 configuration.

Tested

  • JJAutoCompare tested 91deb1b9 on Intel Arc A770. Eight XMA2 tests passed, including stereo-plus-mono acceptance. The XAudio2 harness reported nine passes, with three early returns because no audio endpoint was available. Its workspace run reported 951 passed, 25 failed and 45 ignored without a matched main run. Arc report

  • Exact head 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 base 689f2db; 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:

xcl-smoke v1
commit: 689f2db477c3c062cf162649781640ef8a977c18
gpu: NVIDIA GeForce RTX 5080
title: 16b5e5d4
seconds: 60
exit: 0x0
frames shown: 1657 (PresentX 1657)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14602 MB

PR:

xcl-smoke v1
commit: 91deb1b989d74934b158f99af23cf3d039908677
gpu: NVIDIA GeForce RTX 5080
title: 16b5e5d4
seconds: 60
exit: 0x0
frames shown: 1654 (PresentX 1654)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14599 MB

Not tested

  • World loading; the smoke runs stop at the start screen.
  • AMD.
  • XMA1/XMA2 playback through XAudio2 on Windows or Wine.

AI use

  • OpenAI Codex audited and implemented the constructor invariant and regression test.
  • Claude Code ran the independent Windows/NVIDIA suite and smoke pair and drafted the posted report; the contributor checked it.
<!-- greyfinch-sync:ivall/xcl:issue:5481465136 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1886). Originally posted by [mokkamokacaffe](https://github.com/mokkamokacaffe) on 2026-11-24T22:34:35Z. --- `StreamConfig` is public, but `Decoder::new` only 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** - Enforce one or two channels for every stream before constructing stream decoders and FIFOs. - Keep the aggregate channel-count check after the per-stream invariant. - Add regression cases for zero-channel and three-channel configurations and a valid `2 + 1` configuration. **Tested** - JJAutoCompare tested `91deb1b9` on Intel Arc A770. Eight XMA2 tests passed, including stereo-plus-mono acceptance. The XAudio2 harness reported nine passes, with three early returns because no audio endpoint was available. Its workspace run reported 951 passed, 25 failed and 45 ignored without a matched main run. [Arc report](https://github.com/xcl-dev/xcl/pull/1886#issuecomment-7151377556) - Exact head `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 base `689f2db`; 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: ```xcl-smoke xcl-smoke v1 commit: 689f2db477c3c062cf162649781640ef8a977c18 gpu: NVIDIA GeForce RTX 5080 title: 16b5e5d4 seconds: 60 exit: 0x0 frames shown: 1657 (PresentX 1657) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14602 MB ``` PR: ```xcl-smoke xcl-smoke v1 commit: 91deb1b989d74934b158f99af23cf3d039908677 gpu: NVIDIA GeForce RTX 5080 title: 16b5e5d4 seconds: 60 exit: 0x0 frames shown: 1654 (PresentX 1654) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14599 MB ``` **Not tested** - World loading; the smoke runs stop at the start screen. - AMD. - XMA1/XMA2 playback through XAudio2 on Windows or Wine. **AI use** - OpenAI Codex audited and implemented the constructor invariant and regression test. - Claude Code ran the independent Windows/NVIDIA suite and smoke pair and drafted the posted report; the contributor checked it.
Melow-code commented 2026-11-24 23:10:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Melow-code on 2026-11-24T23:10:53Z.

Review: APPROVED


Rejecting streams wider than two channels is the right guard — XAudio2's mixing path assumes stereo or mono.

<!-- greyfinch-sync:ivall/xcl:review:6048876295 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1886#pullrequestreview-6048876295). Originally posted by [Melow-code](https://github.com/Melow-code) on 2026-11-24T23:10:53Z. **Review:** APPROVED --- Rejecting streams wider than two channels is the right guard — XAudio2's mixing path assumes stereo or mono.
frenziedcoder commented 2026-11-25 00:08:52 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by frenziedcoder on 2026-11-24T23:24:22Z.


NVIDIA test report for 91deb1b: no new test failures (the 4 that fail also fail on 689f2db), its own test decoder_rejects_streams_outside_the_one_or_two_channel_xma_limit passes, and a clean smoke pair on the retail title (1654 vs 1657 frames).

Tested

  • NVIDIA GeForce RTX 5080 16 GB (driver 617.14, 32-lane waves), AMD Ryzen 7 9800X3D, 64 GB, Windows 11 Pro 25H2 (26200.9974), rustc 1.100.0 stable-x86_64-pc-windows-msvc, DXC 1.8.2502.11 (SDK 10.0.26100.0). Exact head 91deb1b989d74934b158f99af23cf3d039908677, no local changes.
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4 (debug): 972 passed, 4 failed, 45 ignored; the PR's own test decoder_rejects_streams_outside_the_one_or_two_channel_xma_limit passes. SKIPPED: gpu::recomp::lower::tests::a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu (no wave64), gpu::recomp::lower::tests::coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu (no wave64), gpu::recomp::lower::tests::cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu (no wave64), gpu::recomp::lower::tests::the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu (no wave64), gpu::recomp::lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpu (no wave64), gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu (f16 arithmetic, wave64: no wave64), gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu (f16 packed, wave64: no wave64), gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu (f32 arithmetic, wave64: no wave64), gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu (f32 compares, wave64: no wave64), gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu (f32 conversions, wave64: no wave64), gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu (f32 rounding, wave64: no wave64), gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu (f32 three-source, wave64: no wave64), gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu (f32 transcendentals, wave64: no wave64), gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu (f64, wave64: no wave64), gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu (integer arithmetic, wave64: no wave64), gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu (integer carries, wave64: no wave64), gpu_geometry_wave32_prefix_count_over_a_mask (no wave64), gpu_wave32_program_in_wave64_hardware (no wave64), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • The 4 failures are fuzz_validate_and_gpu_0, fuzz_validate_and_gpu_1, fuzz_validate_and_gpu_2, fuzz_validate_and_gpu_3 in gpu::dxil::fuzz_tests. They fail the same way on the base 689f2db here (0x8007000E from CreateComputePipelineState on seeds 70, 545, 1019 and 1507, the NVIDIA refusal @PHeitor1 reported on #1679), so this PR adds no failure.
  • test_title_draws_with_a_root_signature_under_the_debug_layer reports ok, but this machine has no D3D12 debug layer (debug layer requested but unavailable … (0x887A002D)), so it ran without the layer and is no evidence either way.

Regression run (scripts/smoke.ps1 -Seconds 60, release, the retail title of #505 at its start screen; XCL_PSO_PRELOAD=0 for both builds, because this machine's preload list holds the program of #1307)

base (689f2db, this PR's merge base with main):

xcl-smoke v1
commit: 689f2db477c3c062cf162649781640ef8a977c18
gpu: NVIDIA GeForce RTX 5080
title: 16b5e5d4
seconds: 60
exit: 0x0
frames shown: 1657 (PresentX 1657)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14602 MB

this PR:

xcl-smoke v1
commit: 91deb1b989d74934b158f99af23cf3d039908677
gpu: NVIDIA GeForce RTX 5080
title: 16b5e5d4
seconds: 60
exit: 0x0
frames shown: 1654 (PresentX 1654)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14599 MB

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.

<!-- greyfinch-sync:ivall/xcl:comment:7147361809 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1886#issuecomment-7147361809). Originally posted by [frenziedcoder](https://github.com/frenziedcoder) on 2026-11-24T23:24:22Z. --- **NVIDIA test report for `91deb1b`: no new test failures (the 4 that fail also fail on `689f2db`), its own test `decoder_rejects_streams_outside_the_one_or_two_channel_xma_limit` passes, and a clean smoke pair on the retail title (1654 vs 1657 frames).** **Tested** - NVIDIA GeForce RTX 5080 16 GB (driver 617.14, 32-lane waves), AMD Ryzen 7 9800X3D, 64 GB, Windows 11 Pro 25H2 (26200.9974), rustc 1.100.0 `stable-x86_64-pc-windows-msvc`, DXC 1.8.2502.11 (SDK 10.0.26100.0). Exact head `91deb1b989d74934b158f99af23cf3d039908677`, no local changes. - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4` (debug): **972 passed, 4 failed, 45 ignored**; the PR's own test `decoder_rejects_streams_outside_the_one_or_two_channel_xma_limit` passes. SKIPPED: `gpu::recomp::lower::tests::a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu` (no wave64), `gpu::recomp::lower::tests::coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu` (no wave64), `gpu::recomp::lower::tests::cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu` (no wave64), `gpu::recomp::lower::tests::the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu` (no wave64), `gpu::recomp::lower_dxil::tests::a_per_lane_2d_or_3d_group_runs_on_the_gpu` (no wave64), `gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu` (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu` (f16 arithmetic, wave64: no wave64), `gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu` (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu` (f16 packed, wave64: no wave64), `gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu` (f32 arithmetic, wave64: no wave64), `gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu` (f32 compares, wave64: no wave64), `gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu` (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu` (f32 conversions, wave64: no wave64), `gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu` (f32 rounding, wave64: no wave64), `gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu` (f32 three-source, wave64: no wave64), `gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu` (f32 transcendentals, wave64: no wave64), `gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu` (f64, wave64: no wave64), `gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu` (integer arithmetic, wave64: no wave64), `gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu` (integer carries, wave64: no wave64), `gpu_geometry_wave32_prefix_count_over_a_mask` (no wave64), `gpu_wave32_program_in_wave64_hardware` (no wave64), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - The 4 failures are `fuzz_validate_and_gpu_0`, `fuzz_validate_and_gpu_1`, `fuzz_validate_and_gpu_2`, `fuzz_validate_and_gpu_3` in `gpu::dxil::fuzz_tests`. They fail the same way on the base `689f2db` here (`0x8007000E` from `CreateComputePipelineState` on seeds 70, 545, 1019 and 1507, the NVIDIA refusal @PHeitor1 reported on #1679), so this PR adds no failure. - `test_title_draws_with_a_root_signature_under_the_debug_layer` reports ok, but this machine has no D3D12 debug layer (`debug layer requested but unavailable … (0x887A002D)`), so it ran without the layer and is no evidence either way. **Regression run** (`scripts/smoke.ps1 -Seconds 60`, release, the retail title of #505 at its start screen; `XCL_PSO_PRELOAD=0` for both builds, because this machine's preload list holds the program of #1307) base (`689f2db`, this PR's merge base with `main`): ``` xcl-smoke v1 commit: 689f2db477c3c062cf162649781640ef8a977c18 gpu: NVIDIA GeForce RTX 5080 title: 16b5e5d4 seconds: 60 exit: 0x0 frames shown: 1657 (PresentX 1657) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14602 MB ``` this PR: ``` xcl-smoke v1 commit: 91deb1b989d74934b158f99af23cf3d039908677 gpu: NVIDIA GeForce RTX 5080 title: 16b5e5d4 seconds: 60 exit: 0x0 frames shown: 1654 (PresentX 1654) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14599 MB ``` **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.*
DavidM1911 commented 2026-11-25 02:09:11 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T02:07:18Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7150341663 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1886#issuecomment-7150341663). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T02:07:18Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
JJAutoCompare commented 2026-11-25 03:05:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T02:56:00Z.


PR #1886 compatibility verification

Tested detached head 91deb1b989d74934b158f99af23cf3d039908677 on STOR-WINLAB (Windows 11 Enterprise Evaluation build 26200.9974, Ryzen 7 3800X). Intel Arc A770 16 GiB, driver 32.0.101.9175, wave range 8–32, DoublePrecisionFloatShaderOps=0. DXC/DXIL 1.9.2609.5. Rust 1.100.0 (0ef1bc386, 2026-11-09), unoptimized profiles with debug info disabled.

Tested

  • cargo build --workspace and cargo test --workspace --no-run both succeeded outside the GPU lock.
  • cargo test -p xcl hle::xma2::tests:: -- --nocapture reported 8 passed, 0 failed, 0 ignored. The new Decoder::new test passed for rejection of zero- and three-channel streams and acceptance of a three-channel configuration split into stereo and mono. XMA1/XMA2 decode fixtures and 5.1 interleaving also passed.
  • cargo test -p xcl hle::xaudio2::tests:: -- --nocapture reported 9 passed, 0 failed, 0 ignored. The system XAudio2 engine test passed. Three tests returned early when CreateMasteringVoice failed with 0x80070490 (no audio endpoint), including the XMA2 source-voice test.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 ran once under the shared Arc lock with RUST_TEST_NOCAPTURE=1. Cargo exited 101. Summed across 20 harness summaries, including doctests, 951 passed, 25 failed, 45 ignored. The XMA2 regression test passed again.

Of the 25 failures, 20 GPU tests hit CreateComputePipelineState error 0x80070057. Four GPU assertions failed (FMA overflow, implicit-LOD sampling, packed f16 high-half preservation, and wave64 pixel reduction). The test title failed its RSSetDepthBiasX check, drawing blue where green was expected.

The log has 25 SKIPPED lines covering 17 wave64 cases, three unsupported per-lane forms, two debug-layer cases, and one each for tiled tier, heap windows, and driver-cache control. These markers include subcases and confer no coverage.

Not tested

Audio-endpoint playback, D3D12 debug-layer paths, optional game samples, other GPU vendors, and retail-title smoke or comparison against main.

AI use

T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr1886-suite.log and published this report.

<!-- greyfinch-sync:ivall/xcl:comment:7151377556 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1886#issuecomment-7151377556). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T02:56:00Z. --- # PR #1886 compatibility verification Tested detached head `91deb1b989d74934b158f99af23cf3d039908677` on STOR-WINLAB (Windows 11 Enterprise Evaluation build 26200.9974, Ryzen 7 3800X). Intel Arc A770 16 GiB, driver 32.0.101.9175, wave range 8–32, `DoublePrecisionFloatShaderOps=0`. DXC/DXIL 1.9.2609.5. Rust 1.100.0 (0ef1bc386, 2026-11-09), unoptimized profiles with debug info disabled. **Tested** - `cargo build --workspace` and `cargo test --workspace --no-run` both succeeded outside the GPU lock. - `cargo test -p xcl hle::xma2::tests:: -- --nocapture` reported 8 passed, 0 failed, 0 ignored. The new `Decoder::new` test passed for rejection of zero- and three-channel streams and acceptance of a three-channel configuration split into stereo and mono. XMA1/XMA2 decode fixtures and 5.1 interleaving also passed. - `cargo test -p xcl hle::xaudio2::tests:: -- --nocapture` reported 9 passed, 0 failed, 0 ignored. The system XAudio2 engine test passed. Three tests returned early when `CreateMasteringVoice` failed with `0x80070490` (no audio endpoint), including the XMA2 source-voice test. - `cargo test --workspace --no-fail-fast -- --test-threads=4` ran once under the shared Arc lock with `RUST_TEST_NOCAPTURE=1`. Cargo exited 101. Summed across 20 harness summaries, including doctests, **951 passed, 25 failed, 45 ignored**. The XMA2 regression test passed again. Of the 25 failures, 20 GPU tests hit `CreateComputePipelineState` error `0x80070057`. Four GPU assertions failed (FMA overflow, implicit-LOD sampling, packed f16 high-half preservation, and wave64 pixel reduction). The test title failed its `RSSetDepthBiasX` check, drawing blue where green was expected. The log has 25 `SKIPPED ` lines covering 17 wave64 cases, three unsupported per-lane forms, two debug-layer cases, and one each for tiled tier, heap windows, and driver-cache control. These markers include subcases and confer no coverage. **Not tested** Audio-endpoint playback, D3D12 debug-layer paths, optional game samples, other GPU vendors, and retail-title smoke or comparison against `main`. **AI use** T3 Code / Codex (`gpt-6.2-sol`, `reasoningEffort: high`) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, `gemini-4-neon`) verified counts against `pr1886-suite.log` and published this report.
github-actions[bot] commented 2026-11-28 08:01:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T08:01:19Z.


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.

<!-- greyfinch-sync:ivall/xcl:comment:7236310017 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1886#issuecomment-7236310017). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T08:01:19Z. --- 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.
mokkamokacaffe commented 2026-11-28 11:39:46 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mokkamokacaffe on 2026-11-28T11:39:46Z.


Needs additional test review please

<!-- greyfinch-sync:ivall/xcl:comment:7238699395 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1886#issuecomment-7238699395). Originally posted by [mokkamokacaffe](https://github.com/mokkamokacaffe) on 2026-11-28T11:39:46Z. --- Needs additional test review please
throny commented 2026-11-30 19:54:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-30T19:54:12Z.


Closing as a duplicate of #1446: both add the same per-stream channel check (0, or more than two channels) to Decoder::new in xma2/mod.rs with a test of the same cases; #1446 is the same age, green and has two merge checks. I compared the diffs against current main (ff0c364b). If I got this wrong (something here is not in #1446), say so and reopen it, or ask and I will.

AI use: Claude Code (Claude Opus 5.5) checked the pair and wrote this; part of the duplicate sweep announced on #3041.

<!-- greyfinch-sync:ivall/xcl:comment:7290109261 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1886#issuecomment-7290109261). Originally posted by [throny](https://github.com/throny) on 2026-11-30T19:54:12Z. --- Closing as a duplicate of #1446: both add the same per-stream channel check (0, or more than two channels) to `Decoder::new` in `xma2/mod.rs` with a test of the same cases; #1446 is the same age, green and has two merge checks. I compared the diffs against current `main` (`ff0c364b`). If I got this wrong (something here is not in #1446), say so and reopen it, or ask and I will. AI use: Claude Code (Claude Opus 5.5) checked the pair and wrote this; part of the duplicate sweep announced on #3041.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!1876
No description provided.