fix(libSceAudioOut): return what the firmware returns from three info calls #9023
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9023"
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 hypermoist on 2026-10-21T09:56:43Z.
What
Three
libSceAudioOutexports return a constant on the console and read none of their arguments. They threw here; now they return the same value:sceAudioOutGetSimulatedHandleStatusInfo(pWmS7LajYlo, 0x2d80)0x809B00FF, the codesceMbusAcquireControlListalready returns onmainsceAudioOutGetInfoOpenNum(RqmKxBqB8B4, 0x32f0)sceAudioOutGetInfo(-00OAutAw+c, 0x3300)Their signatures stay unknown, so they keep the
(void)declarations and their "Unknown function info" debt lines.sceAudioOutGetSimulatedHandleStatusInfo2has a real body on the console and is not part of this change. The code is written from the observed behaviour; nothing from the module is copied.Tested
Linux (CachyOS, GCC, Release). The new
audio_out_infotest checks the three return values. All 42audio_out*tests pass.No test referenced these exports before.
tools/check_conventions.pyis clean, and no open PR changes these functions. Three-way merges with the seven open PRs touching these files (#5021, #5965, #6044, #8098, #8525, #8652, #8693) add no conflicts. The test is registered right afteraudio_out2_latency.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T09:57:33Z.
Progress report (
1381826→3078588)📈 System libraries: 51.01% (+0.04%, +3 implemented functions)
✅ 3 implemented
sceAudioOutGetInfosceAudioOutGetInfoOpenNumsceAudioOutGetSimulatedHandleStatusInfo⚪ 2 behaviourally empty (constant return or throw)
sceAudioOutGetInfosceAudioOutGetInfoOpenNumImported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-21T15:14:19Z.
Independent Windows run of this PR (data only).
Environment: Windows 10 Pro 10.0.19045, Ryzen 7 5800X3D, WinLibs GCC 15.2.0 r7 (MinGW-w64 UCRT), Release, BUILD_TESTING=ON. Merge-tree of the PR head against
mainis clean. I built onlyaudio_out_info_tests;ctest -N -R audio_out_infolists exactly one test.PR head tested:
30785885f761c311c3352e577951950fcc754294.Results (3 runs each):
audio_out_infopasses 3/3.core/libs/prx/libSceAudioOut/src/Unimplemented.cppwith the version from the PR's merge base (27c88a8d75), then rebuilt. The test fails 3/3 (exit 0xc0000409). I restored the PR's files afterwards.GPU: the run output has no
Selected GPUline; no GPU claim is made.Not run: other platforms, the other tests in the same family, the full repository CTest, and any title or console run.
AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by hypermoist on 2026-10-22T09:10:13Z.
@xXPBSXx thanks for the Windows run. Building with only
Unimplemented.cppreverted makes the result clear: 3/3 passes with the PR and 3/3 aborts (0xc0000409) without it.