feat(libSceAudioOut): export the sceAudioOutSys HDMI output functions #2887

Merged
babyhuey merged 1 commit from upstream-pr/2887 into main 2026-10-11 05:54:19 +00:00
babyhuey commented 2026-10-10 17:41:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by babyhuey on 2026-10-10T17:41:15Z.


What

Exports sceAudioOutSysGetHdmiMonitorInfo (Tf9-yOJwF-A), sceAudioOutSysOpen (MGkAS4ncQ90), sceAudioOutSysConfigureOutput (ktdp5iauPQc) and sceAudioOutSysClose (pKY2S4K-6Mg) from libSceAudioOut without an implementation: each throws <name> not implemented if called, declared without parameters, the same way #2764 handled the sceAudioOutEx functions. TechnicalDebt (Unknown function info) records what the titles use them for.

Surround Sound Studio (PPSA99051) and Nuvio PS5 (PPSA99997) import all four. Their audio code is EVO-PLAYER-PS5's, which calls sceAudioOutSysGetHdmiMonitorInfo to read the formats the TV or receiver lists and the other three only to open a port for HDMI bitstream passthrough (evo_pt_open/evo_pt_close). Neither title calls them during start-up.

Three catalog titles stop at the first one on Linux main 77bd928a (catalog build, eboot.bin and sce_module/libc.prx unwrapped as #2605 requires; tracked in #1578), each with app.elf: symbol lookup error: app.elf: undefined symbol: Tf9-yOJwF-A. With this PR they go on to:

Title With this PR, Linux
Surround Sound Studio (PPSA99051) 04AjkP0jO9U (_umtx_op, #1482)
EVO Player (PPSA99039) oxMp8uPqa+U (pthread_set_name_np, #3031)
Nuvio PS5 (PPSA99997) oxMp8uPqa+U (pthread_set_name_np, #3031)

On Windows, EVO Player and Nuvio PS5 report pthread_set_name_np first, on main and with this PR.

Tested

Linux (Ubuntu 24.04, GCC 13), Release: libSceAudioOut builds with no warnings, and the title lines above with this PR merged onto main 77bd928a. Windows 11 (MinGW-w64 GCC 15.2 from WinLibs), Release, on an earlier main with Get-fix's sceAudioOutEx branch (since merged as #2764): Surround Sound Studio gives FAIL: unresolved ELF import 04AjkP0jO9U (_umtx_op) from libkernel.prx with this PR. check_conventions.py passes.

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:4813203019 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2887). Originally posted by [babyhuey](https://github.com/babyhuey) on 2026-10-10T17:41:15Z. --- ### What Exports `sceAudioOutSysGetHdmiMonitorInfo` (`Tf9-yOJwF-A`), `sceAudioOutSysOpen` (`MGkAS4ncQ90`), `sceAudioOutSysConfigureOutput` (`ktdp5iauPQc`) and `sceAudioOutSysClose` (`pKY2S4K-6Mg`) from libSceAudioOut without an implementation: each throws `<name> not implemented` if called, declared without parameters, the same way #2764 handled the `sceAudioOutEx` functions. TechnicalDebt (Unknown function info) records what the titles use them for. Surround Sound Studio (PPSA99051) and Nuvio PS5 (PPSA99997) import all four. Their audio code is EVO-PLAYER-PS5's, which calls `sceAudioOutSysGetHdmiMonitorInfo` to read the formats the TV or receiver lists and the other three only to open a port for HDMI bitstream passthrough (`evo_pt_open`/`evo_pt_close`). Neither title calls them during start-up. Three catalog titles stop at the first one on Linux `main` 77bd928a (catalog build, `eboot.bin` and `sce_module/libc.prx` unwrapped as #2605 requires; tracked in #1578), each with `app.elf: symbol lookup error: app.elf: undefined symbol: Tf9-yOJwF-A`. With this PR they go on to: | Title | With this PR, Linux | |---|---| | Surround Sound Studio (PPSA99051) | `04AjkP0jO9U` (`_umtx_op`, #1482) | | EVO Player (PPSA99039) | `oxMp8uPqa+U` (`pthread_set_name_np`, #3031) | | Nuvio PS5 (PPSA99997) | `oxMp8uPqa+U` (`pthread_set_name_np`, #3031) | On Windows, EVO Player and Nuvio PS5 report `pthread_set_name_np` first, on `main` and with this PR. ### Tested Linux (Ubuntu 24.04, GCC 13), Release: libSceAudioOut builds with no warnings, and the title lines above with this PR merged onto `main` 77bd928a. Windows 11 (MinGW-w64 GCC 15.2 from WinLibs), Release, on an earlier `main` with Get-fix's `sceAudioOutEx` branch (since merged as #2764): Surround Sound Studio gives `FAIL: unresolved ELF import 04AjkP0jO9U (_umtx_op) from libkernel.prx` with this PR. `check_conventions.py` passes. ### 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
github-actions[bot] commented 2026-10-10 17:41:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T17:41:40Z.


Progress report (4a747c4 → 8da88ad)

📉 System libraries: 84.37% (-0.11%, +4 declared functions)

🆕 4 declared as stubs
Library Name
libSceAudioOut sceAudioOutSysClose
libSceAudioOut sceAudioOutSysConfigureOutput
libSceAudioOut sceAudioOutSysGetHdmiMonitorInfo
libSceAudioOut sceAudioOutSysOpen
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6100371678 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2887#issuecomment-6100371678). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T17:41:40Z. --- <!-- progress-report --> ### Progress report (4a747c4 → 8da88ad) 📉 **System libraries**: 84.37% (-0.11%, +4 declared functions) <details> <summary>🆕 4 declared as stubs</summary> | Library | Name | | - | - | | libSceAudioOut | `sceAudioOutSysClose` | | libSceAudioOut | `sceAudioOutSysConfigureOutput` | | libSceAudioOut | `sceAudioOutSysGetHdmiMonitorInfo` | | libSceAudioOut | `sceAudioOutSysOpen` | </details>
oneandonlydean commented 2026-10-10 19:18:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-10T19:18:12Z.


Please drop tests/AudioOutSys.cpp and its CMake entry: it only checks that the stubs throw, and stubs don't need a test. The rest is fine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6101237383 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2887#issuecomment-6101237383). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-10T19:18:12Z. --- Please drop `tests/AudioOutSys.cpp` and its CMake entry: it only checks that the stubs throw, and stubs don't need a test. The rest is fine.
babyhuey commented 2026-10-10 19:23:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by babyhuey on 2026-10-10T19:23:23Z.


Dropped tests/AudioOutSys.cpp and its CMake entry (amended, now 8da88ad3); the description no longer mentions the test.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6101281786 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2887#issuecomment-6101281786). Originally posted by [babyhuey](https://github.com/babyhuey) on 2026-10-10T19:23:23Z. --- Dropped `tests/AudioOutSys.cpp` and its CMake entry (amended, now 8da88ad3); the description no longer mentions the test.
babyhuey commented 2026-10-11 01:15:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by babyhuey on 2026-10-11T01:15:38Z.


With rewind (#3198) and ctime (#3201) merged, EVO Player (PPSA99039) and Nuvio PS5 (PPSA99997) now stop here on Linux too, so on main 77bd928a this is the next stop for three titles: app.elf: symbol lookup error: app.elf: undefined symbol: Tf9-yOJwF-A. Merged onto 77bd928a (clean), Surround Sound Studio goes on to _umtx_op (#1482) and the other two to pthread_set_name_np (#3031). I updated the description with the table.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6104104694 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2887#issuecomment-6104104694). Originally posted by [babyhuey](https://github.com/babyhuey) on 2026-10-11T01:15:38Z. --- With `rewind` (#3198) and `ctime` (#3201) merged, EVO Player (PPSA99039) and Nuvio PS5 (PPSA99997) now stop here on Linux too, so on `main` 77bd928a this is the next stop for three titles: `app.elf: symbol lookup error: app.elf: undefined symbol: Tf9-yOJwF-A`. Merged onto 77bd928a (clean), Surround Sound Studio goes on to `_umtx_op` (#1482) and the other two to `pthread_set_name_np` (#3031). I updated the description with the table.
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!2887
No description provided.