feat(libSceNgs2.native): mix a stereo mastering voice into a 6 or 8 channel render buffer #1032
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1032"
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 gjonn on 2026-10-07T02:23:57Z.
What
Mixes a 2-channel mastering voice into a 6- or 8-channel render buffer. The mixing stage threw
NGS2: mixing 2 mastering channels into 8 is not implementedfor any mastering voice whose channel count differed from its render buffer. A stereo voice now goes to the first two channels of a 6- or 8-channel buffer (front left and right) and the remaining channels stay silent; every other mismatch still throws. The console's actual conversion is unknown, so the assumption is recorded in TechnicalDebt.PPSA21402 (Balatro) sets up a 2-channel mastering voice and renders into an 8-channel buffer. With
sceNgs2ParseWaveformFilein place (#1020), the title stops about 5 s after start onmainwithNGS2: mixing 2 mastering channels into 8 is not implemented. With this change it gets past that point; its next stop is an unrelated GPU one (extended register semantics are not implemented), which this PR does not touch.Tested
ctest -R ngs2passes (all 5 Ngs2 suites). The newTestStereoIntoSurroundrenders a stereo voice into a 6-channel and an 8-channel buffer (checks the front pair and silence in the other channels) and checks that a 2-into-4 mismatch still throws. Without the change it fails withmixing 2 mastering channels into 6 is not implemented.main+ #1020, with and without this change, and got the stops described above.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)