feat(libSceAudioOut): accept sceAudioOut2MasteringSetParam #1258

Merged
MathiasDevelopes merged 1 commit from upstream-pr/1258 into main 2026-10-08 03:35:16 +00:00
MathiasDevelopes commented 2026-10-07 20:03:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MathiasDevelopes on 2026-10-07T20:03:05Z.


What

sceAudioOut2MasteringSetParam aborted through NotImplemented_nid_no_patch. The host mixes without the console's mastering stage, so the mastering parameters have nothing to configure, as with sceAudioOut2MasteringInit: they are now accepted and the call returns 0. A null parameter block still throws. TechnicalDebt lists SetParam next to MasteringInit as having no effect.

Title: PPSA14632 (LEGO Horizon Adventures).
It stops at startup, right after mounting its EnhancedInputUserSettings save data, with terminate called after throwing an instance of 'std::runtime_error' / what(): sceAudioOut2MasteringSetParam not implemented. Plain main stops earlier on other missing pieces (hypot, #1196, and the NpManager reachability callback); with those in place this is the next stop. With this PR it gets past and renders.

terminate called after throwing an instance of 'std::runtime_error'
  what():  sceAudioOut2MasteringSetParam not implemented
FATAL: abort() (SIGABRT) on thread 2832

Tested

Windows 11.

  • audio_out2_latency: SetParam with a parameter block returns 0, and with a null block throws.
  • Full ctest: 395/395 pass; tools/check_conventions.py passes.
  • A title that aborted on this call at startup now gets past it and renders.

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 (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
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4777817233 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1258). Originally posted by [MathiasDevelopes](https://github.com/MathiasDevelopes) on 2026-10-07T20:03:05Z. --- ### What `sceAudioOut2MasteringSetParam` aborted through `NotImplemented_nid_no_patch`. The host mixes without the console's mastering stage, so the mastering parameters have nothing to configure, as with `sceAudioOut2MasteringInit`: they are now accepted and the call returns 0. A null parameter block still throws. TechnicalDebt lists SetParam next to MasteringInit as having no effect. Title: **PPSA14632 (LEGO Horizon Adventures)**. It stops at startup, right after mounting its EnhancedInputUserSettings save data, with terminate called after throwing an instance of 'std::runtime_error' / what(): sceAudioOut2MasteringSetParam not implemented. Plain main stops earlier on other missing pieces (hypot, #1196, and the NpManager reachability callback); with those in place this is the next stop. With this PR it gets past and renders. ``` terminate called after throwing an instance of 'std::runtime_error' what(): sceAudioOut2MasteringSetParam not implemented FATAL: abort() (SIGABRT) on thread 2832 ``` ### Tested Windows 11. - `audio_out2_latency`: SetParam with a parameter block returns 0, and with a null block throws. - Full `ctest`: 395/395 pass; `tools/check_conventions.py` passes. - A title that aborted on this call at startup now gets past it and renders. ### 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 in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [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] AI-assisted: yes
copilot-pull-request-reviewer[bot] commented 2026-10-07 20:03:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-07T20:03:10Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5447675295 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1258#pullrequestreview-5447675295). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/apps/copilot-pull-request-reviewer) on 2026-10-07T20:03:10Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
MathiasDevelopes commented 2026-10-08 03:33:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MathiasDevelopes on 2026-10-08T03:33:22Z.


@oneandonlydean added log line and title for this

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6051617041 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1258#issuecomment-6051617041). Originally posted by [MathiasDevelopes](https://github.com/MathiasDevelopes) on 2026-10-08T03:33:22Z. --- @oneandonlydean added log line and title for this
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!1258
No description provided.