HLE audio capture: fix WAV/QPC overflows, chunk silence writes, close target handle #1309
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1309"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by geiyiliyabumo on 2026-11-24T17:18:28Z.
Summary
Audits \crates/victory-hle/src/modules/audio/capture.rs\ (previously 0 tests) and fixes five bugs:
Verification
AI-assisted; synthetic tests only, no game files.
Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-24T17:26:43Z.
Review: APPROVED
Tested merged cleanly onto
main(ffe310e) on Windows 11 x64 (Rust 1.98.1 MSVC):cargo test -p victory-hle: 94 passed, 0 failed (plusno_dll_planting: 1 passed)cargo clippy -p victory-hle --all-targets: 0 warningscargo xtask policy: okClean overflow/chunking/handle-close fixes in audio capture. Approving.
AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by muhammed-aksoy on 2026-11-24T17:54:18Z.
I tested
0e8c0ebon Windows againstffe310e. The HLE package passed 95 tests. In a local batch with #1279, #1283, #1307, and #1311, the all-features Windows workspace suite passed 360 tests with six ignored and zero failures. Clippy with warnings denied and asset policy passed at batch commit1409f9c. WARP was selected for the GPU tests. AI-assisted.Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:37:13Z.
Automated triage for the maintainers. Closing because another open pull request covers the same change.
See #478. The same four capture.rs hardenings as the earlier and smaller #478, plus a process-handle guard and an empty-variable check of no practical effect (the recorder process exits when done).
If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed