Skip to content

docs(libSceNgs2.native): point the mastering voice gain entry at the AudioOut2 entries in libSceAudioOut - #9362

Merged
adriadam10 merged 1 commit into
boykopovar:mainfrom
thuanquang:docs/debt-sweep-ngs2
Oct 25, 2026
Merged

adriadam10 merged 1 commit into
boykopovar:mainfrom
thuanquang:docs/debt-sweep-ngs2

Conversation

@thuanquang

@thuanquang thuanquang commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

What

One statement in docs/dev/debt/libSceNgs2.native.md no longer matches main; it is replaced with what main does now, and nothing else in the entry changes.

  • NGS2 mastering voice gain: "the AudioOut2 entries above". docs/dev/debt/libSceNgs2.native.md has no AudioOut2 entry; line 14 is the only line that mentions AudioOut. 342a8c4 (PR feat(tools): keep technical debt in one file per library #4411) moved this entry out of docs/dev/TechnicalDebt.md, where the sceAudioOut2PortCreate entries sat above it. Those entries are now docs/dev/debt/libSceAudioOut.md:19-21, and line 20 gives the L R C LFE order. The code is unchanged: core/libs/prx/libSceNgs2.native/src/Render.cpp:343 still applies the LFE level to channel 3 of 6- and 8-channel voices. Now: "the sceAudioOut2PortCreate entries in libSceAudioOut".

Tested

Docs only; nothing was built or run. On origin/main 1698d1e I read these parts of core/libs/prx/libSceNgs2.native/src: Rack.cpp (sceNgs2RackLock and sceNgs2RackUnlock, the custom rack option check, CreateRack maxFilters), System.cpp (Ngs2Lock, the exclusive owner and its four waiters, SetSampleRate), Voice.cpp (GetStateFlags, ApplyParam routing, Ngs2SetFilter), Custom.cpp (Ngs2CheckCustomRack, Ngs2SetupUserFx, Ngs2ApplyCustomParam, Ngs2ProcessUserFx) and Render.cpp (RenderSampler, RenderVoice, the mastering LFE mix), plus docs/dev/debt/libSceAudioOut.md:19-21; no NGS2 or AudioOut file has changed since the verifiers' 38d3c08, each old string occurs exactly once with no overlap, and lines 22 and 26 are already over the checker's 1000-character limit on main (1164 and 1500 characters), so editing them will raise the debt-length warning, which is not an error. (main 1896871ba7). Each statement was found by a read-only sweep of the debt files and confirmed by two independent verifier passes and a final check on current main. No open pull request edits these sentences (checked against every open PR's diff of this file).

  • python tools/check_conventions.py --base origin/main with this title and body passes.
  • Not tested: behaviour on any machine; this changes text only.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

@thuanquang thuanquang changed the title docs(libSceNgs2.native): correct three stale debt statements docs(libSceNgs2.native): point the mastering voice gain entry at the AudioOut2 entries in libSceAudioOut Oct 21, 2026
@github-actions github-actions Bot added the docs label Oct 22, 2026
…AudioOut2 entries in libSceAudioOut

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 10410 docs/dev/debt/libSceNgs2.native.md L17

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 5548 docs/dev/debt/libSceNgs2.native.md
PR 10127 docs/dev/debt/libSceNgs2.native.md
PR 10599 docs/dev/debt/libSceNgs2.native.md
PR 10851 docs/dev/debt/libSceNgs2.native.md

@adriadam10 adriadam10 self-assigned this Oct 25, 2026
@adriadam10
adriadam10 merged commit a134d8d into boykopovar:main Oct 25, 2026
9 checks passed
@adriadam10

Copy link
Copy Markdown
Collaborator

Checked the new link target (sceAudioOut2PortCreate entries in libSceAudioOut.md, L R C LFE order) and Render.cpp (LFE level on channel 3 of 6/8-channel voices); the sentence now matches main. Docs only; merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants