feat(libSceAudioIn): declare six PS5 pending exports #9629

Closed
xdCloudy wants to merge 2 commits from upstream-pr/9629 into main
xdCloudy commented 2026-10-22 05:11:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T05:11:42Z.


Update (2026-10-25)

The branch is based on current upstream main at f26434afa3. Corrected all 6 APS5_EXPORT registration literals to computed 11-character NIDs; each matches its technical-debt record. Local conventions and diff-check pass. Refreshed hosted checks are running; product/platform jobs are skipped.

What

Add six PS5 3.20 libSceAudioIn import declarations from the local export inventory:

  • sceAudioInExtClose
  • sceAudioInExtInput
  • sceAudioInExtOpen
  • sceAudioInExtSetAecMode
  • sceAudioInSetConnectionsForUser
  • sceAudioInSetFocusForUser

The signatures are unverified, so each declaration uses the existing no-parameter unknown-signature convention and throws through NotImplemented_nid_no_patch for import resolution only. The debt file records the names, NIDs, source inventory, and signature limitation. No scanner, progress, UI, history, or percentage behavior changes are included.

Tested

  • Evidence: local PS5 3.20 libSceAudioIn.c export inventory; all six NIDs recomputed with tools/nid_names.py.
  • tools/pr_overlap.py --branch feat/ps5-audioin-6-exports --repo boykopovar/AnyPS5 --jobs 8: no confirmed export, implementation, or new-file overlaps. It could not compare shared CMakeLists.txt changes in #5021, #6044, and #7201 because those PR branches conflict with base. Manual review confirms #5021 changes Apple SDL linkage, #6044 relocates AudioIn tests, and #7201 guards link options; none conflicts with this PR's source-list line.
  • Independent exact name/NID audit: no matches in current main or added lines from any of the 1,182 other open PRs.
  • python tools/check_conventions.py --base upstream/main: passed.
  • git diff --check: passed.
  • Windows: cmake --build .build-exports-win --target libSceAudioIn --parallel 8: passed.
  • Ubuntu 24.04 under WSL: cmake --build .build-np-linux --target libSceAudioIn -j 8: passed.
  • Target build only; tests and full CI were not run.

Checklist

  • Based on current main (d6eafa54d0464258574fd2f71889754d05a5bc93); 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 (not applicable; no third-party code added)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4962452736 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9629). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T05:11:42Z. --- ### Update (2026-10-25) The branch is based on current upstream main at f26434afa36e58778a9ff4b948aea52dff19eb0c. Corrected all 6 APS5_EXPORT registration literals to computed 11-character NIDs; each matches its technical-debt record. Local conventions and diff-check pass. Refreshed hosted checks are running; product/platform jobs are skipped. ### What Add six PS5 3.20 `libSceAudioIn` import declarations from the local export inventory: - `sceAudioInExtClose` - `sceAudioInExtInput` - `sceAudioInExtOpen` - `sceAudioInExtSetAecMode` - `sceAudioInSetConnectionsForUser` - `sceAudioInSetFocusForUser` The signatures are unverified, so each declaration uses the existing no-parameter unknown-signature convention and throws through `NotImplemented_nid_no_patch` for import resolution only. The debt file records the names, NIDs, source inventory, and signature limitation. No scanner, progress, UI, history, or percentage behavior changes are included. ### Tested - Evidence: local PS5 3.20 `libSceAudioIn.c` export inventory; all six NIDs recomputed with `tools/nid_names.py`. - `tools/pr_overlap.py --branch feat/ps5-audioin-6-exports --repo boykopovar/AnyPS5 --jobs 8`: no confirmed export, implementation, or new-file overlaps. It could not compare shared `CMakeLists.txt` changes in #5021, #6044, and #7201 because those PR branches conflict with base. Manual review confirms #5021 changes Apple SDL linkage, #6044 relocates AudioIn tests, and #7201 guards link options; none conflicts with this PR's source-list line. - Independent exact name/NID audit: no matches in current `main` or added lines from any of the 1,182 other open PRs. - `python tools/check_conventions.py --base upstream/main`: passed. - `git diff --check`: passed. - Windows: `cmake --build .build-exports-win --target libSceAudioIn --parallel 8`: passed. - Ubuntu 24.04 under WSL: `cmake --build .build-np-linux --target libSceAudioIn -j 8`: passed. - Target build only; tests and full CI were not run. ### Checklist - [x] Based on current `main` (`d6eafa54d0464258574fd2f71889754d05a5bc93`); 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 (not applicable; no third-party code added) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
xdCloudy commented 2026-10-22 06:42:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T06:42:57Z.


Relevant as a prompt for manual review; I checked the flagged libSceAudioIn CMakeLists.txt diffs. This PR only adds InventoryExports.cpp to the library source list. #6044 relocates/registers test targets, #5021 changes library linkage for Apple, and #7201 guards the linker option on Apple. Those are distinct edits; I found no overlapping export declarations or same-line changes requiring landing order. The warning reflects comparisons blocked by those branches’ base conflicts, not a detected duplicate. No dependency identified.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6334539233 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9629#issuecomment-6334539233). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T06:42:57Z. --- Relevant as a prompt for manual review; I checked the flagged libSceAudioIn CMakeLists.txt diffs. This PR only adds InventoryExports.cpp to the library source list. #6044 relocates/registers test targets, #5021 changes library linkage for Apple, and #7201 guards the linker option on Apple. Those are distinct edits; I found no overlapping export declarations or same-line changes requiring landing order. The warning reflects comparisons blocked by those branches’ base conflicts, not a detected duplicate. No dependency identified.
MarcZX10 commented 2026-10-22 09:23:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T09:23:06Z.

Review: CHANGES_REQUESTED


The six AudioIn declarations are scoped as import-resolution stubs: each calls NotImplemented_nid_no_patch, and the technical debt entry records the export inventory, NIDs and unknown signatures. The CMake change only adds the source file. I found no reason to expect runtime tests for this declaration-only change. Exact-head conventions and git diff --check pass; target-library builds on Windows and WSL are author-reported, while hosted product jobs were skipped. The author’s manual overlap review covers the three CMake files the bot could not compare; those edits are on separate lines/conditions.

I’ve noticed that holding this PR because of #5239 isn’t necessary. It’s fine for PRs to keep coming in; they’ll be handled in due course. Please disregard my earlier request to hold or defer it.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5611994363 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9629#pullrequestreview-5611994363). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T09:23:06Z. **Review:** CHANGES_REQUESTED --- The six AudioIn declarations are scoped as import-resolution stubs: each calls `NotImplemented_nid_no_patch`, and the technical debt entry records the export inventory, NIDs and unknown signatures. The CMake change only adds the source file. I found no reason to expect runtime tests for this declaration-only change. Exact-head conventions and `git diff --check` pass; target-library builds on Windows and WSL are author-reported, while hosted product jobs were skipped. The author’s manual overlap review covers the three CMake files the bot could not compare; those edits are on separate lines/conditions. I’ve noticed that holding this PR because of #5239 isn’t necessary. It’s fine for PRs to keep coming in; they’ll be handled in due course. Please disregard my earlier request to hold or defer it.
MarcZX10 commented 2026-10-22 12:57:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T12:57:56Z.

Review: CHANGES_REQUESTED


I rechecked the declaration-only change: it has six unique APS5_EXPORT entries and six NotImplemented_nid_no_patch bodies. Exact-head git diff --check, conventions against current main, test registration (171 scripts), and a Linux syntax check of InventoryExports.cpp all pass. No runtime test is expected for import-resolution-only throwing declarations. The author reports Windows and WSL target builds; hosted product jobs are path-skipped.

I am withdrawing my earlier #5239 intake hold as a reason to defer this PR. The base is still d6eafa5, 15 commits behind current main 8b3a6ba; the intervening main commits do not touch libSceAudioIn, but CONTRIBUTING.md requires a current-main base. Please rebase and refresh the overlap/conventions checks before merge.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5614525949 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9629#pullrequestreview-5614525949). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T12:57:56Z. **Review:** CHANGES_REQUESTED --- I rechecked the declaration-only change: it has six unique `APS5_EXPORT` entries and six `NotImplemented_nid_no_patch` bodies. Exact-head `git diff --check`, conventions against current `main`, test registration (171 scripts), and a Linux syntax check of `InventoryExports.cpp` all pass. No runtime test is expected for import-resolution-only throwing declarations. The author reports Windows and WSL target builds; hosted product jobs are path-skipped. I am withdrawing my earlier #5239 intake hold as a reason to defer this PR. The base is still `d6eafa5`, 15 commits behind current `main` `8b3a6ba`; the intervening main commits do not touch `libSceAudioIn`, but CONTRIBUTING.md requires a current-main base. Please rebase and refresh the overlap/conventions checks before merge.

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