feat(ngs2): implement legacy submixer UserFx callbacks #1302
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1302"
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 boykopovar/AnyPS5. Originally posted by TibixDev on 2026-10-07T22:46:53Z.
What
Implement legacy submixer UserFx callbacks on mixed planar audio, including silent input. Keep callback data per voice, support removal and setup reset, and throw on callback failure.
Tested
Fedora 44, Release: all seven NGS2 tests pass. The new test covers audio generation, gain, separate voices, pause, resume, restart, removal, and recovery after callback failure. ABI sources and unverified console behavior are recorded in
TechnicalDebt.md.Checklist
main; no duplicate open PR.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T04:37:31Z.
Progress report (
b1c5f10→0d4db86)➖ System libraries: 85.41% (+0.0%, +1 implemented functions)
✅ 1 implemented
ProcessImported from boykopovar/AnyPS5. Originally posted by TibixDev on 2026-10-08T07:01:49Z.
Rebased on
bc1fbe81. Kept the PCM stream test registration alongside legacy UserFx coverage.Fedora 44 Release:
ngs2_core_render_tests,ngs2_render_tests,ngs2_atrac9_tests,ngs2_filter_tests,ngs2_custom_tests,ngs2_parse_tests,ngs2_stream_tests,ngs2_userfx_testsbuild; the targeted tests and contribution checks pass. Windows CI is pending.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-08T11:27:00Z.
Checked: build + full ctest on current
main(443/443,ngs2_userfxpasses, and fails to build without the change). The 40-byteUserFxparam and 48-byte process context match shadPS4 (ngs2.h,ngs2_submixer.h); channel count is bounded by the rack'smaxChannels;renderingis reset if the callback throws; the unverified flag/error semantics are recorded in TechnicalDebt.The PR only conflicted with
mainindocs/dev/TechnicalDebt.md(adjacent line); rebased, keeping both lines, no logic changes. Merging once CI is green on the rebased head.