feat(libSceAudioOut): declare 19 AudioOut2 exports by their hash-verified names #5119

Closed
parl0v wants to merge 1 commit from upstream-pr/5119 into main
parl0v commented 2026-10-13 12:15:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by parl0v on 2026-10-13T12:15:09Z.


What

Declares 19 exports by name: AudioOut2 low-level context and port creation and attributes, HRTF assignment, TV correction and virtualization, speaker info and debug exports. Each is a throwing stub (NotImplemented_nid_no_patch) declared without parameters, with an Unknown function info entry in its library's technical debt file.

Library NID Name zecoxao/sce_symbols
libSceAudioOut -Bn3G37Q1qU sceAudioOut2SetSpeakerInfo #23
libSceAudioOut 11yhLGUG49M sceAudioOut2PortSetAttributesEx #22 (merged)
libSceAudioOut 1kUphng3rOk sceAudioOut2GetSystemDebugState #23
libSceAudioOut 3o6lDIe0iY0 sceAudioOut2LoPortSetAttributesEx #22 (merged)
libSceAudioOut 45qxRgFYZZg sceAudioOut2LoPortGetAttributes #23
libSceAudioOut 4Ac+2ezx1lY sceAudioOut2GetLoContextParam #23
libSceAudioOut 5tnxDLdHpOM sceAudioOut2SetSparkEQ #23
libSceAudioOut 6hw5LpQh6-M sceAudioOut2LoPortGetParam #23
libSceAudioOut 96EqlBA6q4I sceAudioOut2GetLoContextHandle #23
libSceAudioOut B88xqT6vI88 sceAudioOut2SetDebugAudioMode #23
libSceAudioOut Nb3DK8hNqeY sceAudioOut2LoContextGetAttributes #23
libSceAudioOut Oqn65W-w8bo sceAudioOut2GetMainUserHandle #23
libSceAudioOut Zk1Cn7Z2tVs sceAudioOut2GetDebugMemoryInfo #23
libSceAudioOut eD21Kabealg sceAudioOut2LoPortCreateEx #22 (merged)
libSceAudioOut g33sQzMRRmQ sceAudioOut2EnableTVVirtual #23
libSceAudioOut o+Ol1OcMbBo sceAudioOut2LoContextCreateEx #22 (merged)
libSceAudioOut r5LqvBxfG+0 sceAudioOutSysGetLastOutputTime #23
libSceAudioOut rzjbvXzvDtE sceAudioOut2AssignHRTF #23
libSceAudioOut vmgNwWTCPYc sceAudioOut2EnableTVCorrection #23

The names come from the shared NID database, where I added them (zecoxao/sce_symbols #22 and #23). Each name hashes to its NID with tools/nid_names.py compute_nid, and the library is the module that exports the NID in the 10.01 system modules.

No title I know of imports these yet, so nothing calls them today. With them declared, a title that does import one resolves it by name and stops with that name in the NotImplemented message instead of an unresolved NID at load. Implementations can then replace the stubs one by one.

Tested

  • Windows 10 19045, MinGW-w64 GCC 15.2: the libs target builds; tools/check_conventions.py --base origin/main passes.
  • Every name re-hashed against its NID before the commit.

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
  • Unblocks: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4843060486 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5119). Originally posted by [parl0v](https://github.com/parl0v) on 2026-10-13T12:15:09Z. --- ### What Declares 19 exports by name: AudioOut2 low-level context and port creation and attributes, HRTF assignment, TV correction and virtualization, speaker info and debug exports. Each is a throwing stub (`NotImplemented_nid_no_patch`) declared without parameters, with an Unknown function info entry in its library's technical debt file. | Library | NID | Name | zecoxao/sce_symbols | |---|---|---|---| | libSceAudioOut | `-Bn3G37Q1qU` | `sceAudioOut2SetSpeakerInfo` | #23 | | libSceAudioOut | `11yhLGUG49M` | `sceAudioOut2PortSetAttributesEx` | #22 (merged) | | libSceAudioOut | `1kUphng3rOk` | `sceAudioOut2GetSystemDebugState` | #23 | | libSceAudioOut | `3o6lDIe0iY0` | `sceAudioOut2LoPortSetAttributesEx` | #22 (merged) | | libSceAudioOut | `45qxRgFYZZg` | `sceAudioOut2LoPortGetAttributes` | #23 | | libSceAudioOut | `4Ac+2ezx1lY` | `sceAudioOut2GetLoContextParam` | #23 | | libSceAudioOut | `5tnxDLdHpOM` | `sceAudioOut2SetSparkEQ` | #23 | | libSceAudioOut | `6hw5LpQh6-M` | `sceAudioOut2LoPortGetParam` | #23 | | libSceAudioOut | `96EqlBA6q4I` | `sceAudioOut2GetLoContextHandle` | #23 | | libSceAudioOut | `B88xqT6vI88` | `sceAudioOut2SetDebugAudioMode` | #23 | | libSceAudioOut | `Nb3DK8hNqeY` | `sceAudioOut2LoContextGetAttributes` | #23 | | libSceAudioOut | `Oqn65W-w8bo` | `sceAudioOut2GetMainUserHandle` | #23 | | libSceAudioOut | `Zk1Cn7Z2tVs` | `sceAudioOut2GetDebugMemoryInfo` | #23 | | libSceAudioOut | `eD21Kabealg` | `sceAudioOut2LoPortCreateEx` | #22 (merged) | | libSceAudioOut | `g33sQzMRRmQ` | `sceAudioOut2EnableTVVirtual` | #23 | | libSceAudioOut | `o+Ol1OcMbBo` | `sceAudioOut2LoContextCreateEx` | #22 (merged) | | libSceAudioOut | `r5LqvBxfG+0` | `sceAudioOutSysGetLastOutputTime` | #23 | | libSceAudioOut | `rzjbvXzvDtE` | `sceAudioOut2AssignHRTF` | #23 | | libSceAudioOut | `vmgNwWTCPYc` | `sceAudioOut2EnableTVCorrection` | #23 | The names come from the shared NID database, where I added them (zecoxao/sce_symbols #22 and #23). Each name hashes to its NID with `tools/nid_names.py compute_nid`, and the library is the module that exports the NID in the 10.01 system modules. No title I know of imports these yet, so nothing calls them today. With them declared, a title that does import one resolves it by name and stops with that name in the `NotImplemented` message instead of an unresolved NID at load. Implementations can then replace the stubs one by one. ### Tested - Windows 10 19045, MinGW-w64 GCC 15.2: the `libs` target builds; `tools/check_conventions.py --base origin/main` passes. - Every name re-hashed against its NID before the commit. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-13 12:20:02 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T12:20:02Z.


Progress report (a2a3a3a → b9cdeeb)

📉 System libraries: 87.38% (-0.46%, +19 declared functions)

🆕 19 declared as stubs
Library Name
libSceAudioOut sceAudioOut2AssignHRTF
libSceAudioOut sceAudioOut2EnableTVCorrection
libSceAudioOut sceAudioOut2EnableTVVirtual
libSceAudioOut sceAudioOut2GetDebugMemoryInfo
libSceAudioOut sceAudioOut2GetLoContextHandle
libSceAudioOut sceAudioOut2GetLoContextParam
libSceAudioOut sceAudioOut2GetMainUserHandle
libSceAudioOut sceAudioOut2GetSystemDebugState
libSceAudioOut sceAudioOut2LoContextCreateEx
libSceAudioOut sceAudioOut2LoContextGetAttributes
libSceAudioOut sceAudioOut2LoPortCreateEx
libSceAudioOut sceAudioOut2LoPortGetAttributes
libSceAudioOut sceAudioOut2LoPortGetParam
libSceAudioOut sceAudioOut2LoPortSetAttributesEx
libSceAudioOut sceAudioOut2PortSetAttributesEx
libSceAudioOut sceAudioOut2SetDebugAudioMode
libSceAudioOut sceAudioOut2SetSparkEQ
libSceAudioOut sceAudioOut2SetSpeakerInfo
libSceAudioOut sceAudioOutSysGetLastOutputTime
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6145395945 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5119#issuecomment-6145395945). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-13T12:20:02Z. --- <!-- progress-report --> ### Progress report (a2a3a3a → b9cdeeb) 📉 **System libraries**: 87.38% (-0.46%, +19 declared functions) <details> <summary>🆕 19 declared as stubs</summary> | Library | Name | | - | - | | libSceAudioOut | `sceAudioOut2AssignHRTF` | | libSceAudioOut | `sceAudioOut2EnableTVCorrection` | | libSceAudioOut | `sceAudioOut2EnableTVVirtual` | | libSceAudioOut | `sceAudioOut2GetDebugMemoryInfo` | | libSceAudioOut | `sceAudioOut2GetLoContextHandle` | | libSceAudioOut | `sceAudioOut2GetLoContextParam` | | libSceAudioOut | `sceAudioOut2GetMainUserHandle` | | libSceAudioOut | `sceAudioOut2GetSystemDebugState` | | libSceAudioOut | `sceAudioOut2LoContextCreateEx` | | libSceAudioOut | `sceAudioOut2LoContextGetAttributes` | | libSceAudioOut | `sceAudioOut2LoPortCreateEx` | | libSceAudioOut | `sceAudioOut2LoPortGetAttributes` | | libSceAudioOut | `sceAudioOut2LoPortGetParam` | | libSceAudioOut | `sceAudioOut2LoPortSetAttributesEx` | | libSceAudioOut | `sceAudioOut2PortSetAttributesEx` | | libSceAudioOut | `sceAudioOut2SetDebugAudioMode` | | libSceAudioOut | `sceAudioOut2SetSparkEQ` | | libSceAudioOut | `sceAudioOut2SetSpeakerInfo` | | libSceAudioOut | `sceAudioOutSysGetLastOutputTime` | </details>
github-actions[bot] commented 2026-10-13 12:23:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T12:23:07Z.


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
#4778 docs/dev/debt/libSceAudioOut.md L18
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6145451125 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5119#issuecomment-6145451125). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-13T12:23:07Z. --- <!-- pr-overlap --> 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 | |---|---|---|---| | #4778 | `docs/dev/debt/libSceAudioOut.md` [L18](https://github.com/boykopovar/AnyPS5/blob/0df6e295c52e7cd6afa394ed35513bd252045c74/docs/dev/debt/libSceAudioOut.md#L18) | | |
CnRJay commented 2026-10-14 01:35:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-14T01:35:38Z.

Review: COMMENTED


Withdrawn. This review applied a title-ID/log requirement that is not in CONTRIBUTING (Unblocks: none is allowed), and it contained no code review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5512054583 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5119#pullrequestreview-5512054583). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-10-14T01:35:38Z. **Review:** COMMENTED --- Withdrawn. This review applied a title-ID/log requirement that is not in CONTRIBUTING (`Unblocks: none` is allowed), and it contained no code review.
oneandonlydean commented 2026-10-14 02:32:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T02:32:58Z.


Closing: no title is known to reach this. With the queue at 700+ open PRs, please hold off on new PRs that don't name a title needing the change until it's down. If a title stops on this on current main, reopen with the title ID and the log line.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6159587988 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5119#issuecomment-6159587988). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-14T02:32:58Z. --- Closing: no title is known to reach this. With the queue at 700+ open PRs, please hold off on new PRs that don't name a title needing the change until it's down. If a title stops on this on current main, reopen with the title ID and the log line.

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
boykopovar/AnyPS5!5119
No description provided.