feat(libSceAudio3d): report supported port attributes #5968
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5968"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-14T17:28:11Z.
What
Implement
sceAudio3dPortGetAttributesSupportedfor open Audio3d ports. Report the three attributes already accepted bysceAudio3dPortSetAttribute, support count-only and capacity-limited queries, and return the existing invalid-parameter and invalid-port errors for invalid arguments. Add guest-test coverage for these cases.Tested
ninja -C /tmp/AnyPS5-pixel-interlock-build -j4 guest_audio3d_port_tests— passed (target already up to date)ctest --test-dir /tmp/AnyPS5-pixel-interlock-build -R '^guest_audio3d_port$' --output-on-failure— unable to run: host CPU lacks LZCNT, BMI1/2, MOVBE, AVX2, and FMA, required by the emulatorpython3 tools/check_conventions.py --base upstream/main— passedpython3 tools/check_test_registration.py /tmp/AnyPS5-pixel-interlock-build— passedgit diff --check— passedChecklist
main; no open PR implements this functionImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T17:29:01Z.
Progress report (
b260d8d→aa00274)➖ System libraries: 88.83% (+0.0%, +1 implemented functions)
✅ 1 implemented
sceAudio3dPortGetAttributesSupportedImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T23:36:31Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/tests/GuestAudio3dPort.cppImported from boykopovar/AnyPS5. Originally posted by 011010 on 2026-10-15T00:02:14Z.
Heads up on the overlap the bot flagged between this and #6148: both implement
sceAudio3dPortGetAttributesSupported, and both touchcore/libs/prx/libSceAudio3d/Export.cppandcore/libs/tests/GuestAudio3dPort.cpp.Yours should go first. It is the smaller change, and it is the one that unblocks the title on its own: FIFA 21 (
PPSA01327) stops onFAIL: unresolved ELF import 9ZA23Ia46Po from libSceAudio3d.prx, which is exactly this export (reported in #5954).So I will rebase #6148 on this, drop my copy of
sceAudio3dPortGetAttributesSupportedin favour of yours, and mark itDepends on: #5968. No action needed from you — merge whenever you are ready and I will follow.Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-15T20:04:09Z.
Review: COMMENTED
Linux run (Ubuntu 26.04, Intel i7-8700, GCC 15.2, full build, non-GPU tests), head
640f32e5fmerged ontomain44df21632.guest_audio3d_portcould not run on the author's CPU; here it runs and passes, as doesguest_audio3d_parameters.Export.cppfrommainthe test does not link (undefined reference to sceAudio3dPortGetAttributesSupported).Non-GPU suite (
ctest -E "^agc"): same result asmain; onlyfile_writer_binaryandfile_writer_textfail, and they fail onmaintoo on this machine (Ubuntu 26.04 coreutils).Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T15:34:25Z.
Thanks for the independent Linux run and for checking the documented case where
guest_audio3d_portcan no longer be reached from public inputs. I have noted that API caveat alongside the passing tests.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T19:43:28Z.
Checked the build,
guest_audio3d_port(passes; without the change the test doesn't link) and the port-level attributes againstsceAudio3dPortSetAttribute. The list is inferred from the setter and shadPS4 reports object attributes instead, so I added the missingUnknown function infoline indocs/dev/debt/libSceAudio3d.mdas our own commit. Rebased on main, build and ctest green; merging.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T20:02:44Z.
Thanks for checking the port-level attributes against the setter and adding the missing debt note. The build and focused test results are clear, including the link failure without the change. I have no further changes to request.