feat(audioout): declare sceAudioOut2EnableChat so libdiscord_partner_sdk.prx resolves #2659

Closed
husseinkad wants to merge 1 commit from upstream-pr/2659 into main
husseinkad commented 2026-10-10 10:21:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by husseinkad on 2026-10-10T10:21:12Z.


What

PPSA23126's libdiscord_partner_sdk.prx imports sceAudioOut2EnableChat (NID oiOi7vgPfAY, name from the shadPS4 aerolib NID list; the NID is reproduced by tools/nid_names.py). libSceAudioOut did not export it, so the loader stopped there.

The export is declared without parameters like its neighbour sceAudioOut2UserGetSupportedAttributes and calls NotImplemented_nid_no_patch, so it throws if the title actually calls it. The signature and behaviour are unknown and are recorded in TechnicalDebt (unknown function info, same entry form as the other declared-without-parameters imports).

Refs #2648. This only resolves this import; the other absent imports listed in the issue need their own changes.

Tested

Windows 11 (10.0.26200), WinLibs GCC 15.2.0 r7, Release: libSceAudioOut.prx builds and its NIDs patch (Patching NIDs for libSceAudioOut, OK). tools/check_conventions.py --base origin/main passes; tools/pr_overlap.py --branch reports no overlap. No title was run (PPSA23126 not available).

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 in TechnicalDebt
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4810484595 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2659). Originally posted by [husseinkad](https://github.com/husseinkad) on 2026-10-10T10:21:12Z. --- ### What PPSA23126's `libdiscord_partner_sdk.prx` imports `sceAudioOut2EnableChat` (NID `oiOi7vgPfAY`, name from the shadPS4 aerolib NID list; the NID is reproduced by `tools/nid_names.py`). `libSceAudioOut` did not export it, so the loader stopped there. The export is declared without parameters like its neighbour `sceAudioOut2UserGetSupportedAttributes` and calls `NotImplemented_nid_no_patch`, so it throws if the title actually calls it. The signature and behaviour are unknown and are recorded in TechnicalDebt (unknown function info, same entry form as the other declared-without-parameters imports). Refs #2648. This only resolves this import; the other absent imports listed in the issue need their own changes. ### Tested Windows 11 (10.0.26200), WinLibs GCC 15.2.0 r7, Release: `libSceAudioOut.prx` builds and its NIDs patch (`Patching NIDs for libSceAudioOut`, `OK`). `tools/check_conventions.py --base origin/main` passes; `tools/pr_overlap.py --branch` reports no overlap. No title was run (PPSA23126 not available). ### 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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in TechnicalDebt - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-10 10:21:20 +00:00 (Migrated from github.com)

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


Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6096514382 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2659#issuecomment-6096514382). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T10:21:20Z. --- Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
github-actions[bot] commented 2026-10-10 10:21:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T10:21:30Z.


Progress report (a29ef59 → de17788)

📉 System libraries: 84.52% (-0.03%, +1 declared functions)

🆕 1 declared as stubs
Library Name
libSceAudioOut sceAudioOut2EnableChat
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6096515584 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2659#issuecomment-6096515584). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T10:21:30Z. --- <!-- progress-report --> ### Progress report (a29ef59 → de17788) 📉 **System libraries**: 84.52% (-0.03%, +1 declared functions) <details> <summary>🆕 1 declared as stubs</summary> | Library | Name | | - | - | | libSceAudioOut | `sceAudioOut2EnableChat` | </details>

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!2659
No description provided.