feat(libSceAudioOut): implement sceAudioOutGetSimulatedHandleStatusInfo2 #11202
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/11202"
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 26JATIN on 2026-10-25T21:46:17Z.
What
sceAudioOutGetSimulatedHandleStatusInfo2threwNotImplemented_nid_no_patch, so a title that called it aborted. It now returns0x809B00FF, the valuesceAudioOutGetSimulatedHandleStatusInfoalready returns for the same simulated-handle query.Its declaration has no parameters because the signature is unknown, which is safe for an
intreturn that reads none. The assumption that the pair differs only in a handle width is recorded indocs/dev/debt/libSceAudioOut.md.This is the
libSceAudioOutpart of the change originally opened here; the other two topics moved to #11211 (libkernel) and #11212 (libkernel_sys).Tested
Linux (Ubuntu, GCC 15.2.0, x86-64). The changed translation unit compiles with the project's flags (
tools/check_compile.py --base origin/main) andlibSceAudioOutlinks. The same change was part of a full build with-DBUILD_TESTING=ONandctest: 2271 of 2274 tests passed, the three failures environmental (pr_overlap_encodingneeds the build directory inside a git checkout,unwrap_selfneedsos.chown,agc_driver_multisample_retirementruns on llvmpipe with 1x1 sample location grids).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)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-25T21:49:00Z.
Review: CHANGES_REQUESTED
The repository rule requires one branch per topic (
CONTRIBUTING.md: “One branch per topic”). This change combines three independent API behaviors in different libraries: an AudioOut status query, the libkernel__Ux86_64_setcontextalias, and libkernel_sys direct-memory aliasing. None depends on the others, so this is not one reviewable topic. Please split these into separate PRs and keep the checklist accurate for each resulting change. ThesceAudioOutGetSimulatedHandleStatusInfo2andsceKernelEnableDmemAliasing2behavior is explicitly recorded as unmeasured; I treated those as assumptions, not console-verified behavior. I did not find those exact exports implemented by the other open PRs I checked. Local conventions andgit diff --checkpass; the PR reports the Linux full-suite run, with three stated environmental failures.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-25T22:04:36Z.
Review: CHANGES_REQUESTED
Thanks for splitting this into the AudioOut-only PR. The remaining implementation is still an unverified return-value guess: the updated description says
sceAudioOutGetSimulatedHandleStatusInfo2is assumed to matchsceAudioOutGetSimulatedHandleStatusInfo, and the debt entry preserves that uncertainty.There is contrary context in merged PR #9023: its description explicitly says
sceAudioOutGetSimulatedHandleStatusInfo2has a real body on the console and was excluded from the constant-return implementation. The measured behavior of the unsuffixed export therefore does not establish this function's behavior or signature.CONTRIBUTING.mdandAGENTS.mdrequire unknown behavior to keep throwing and be recorded in technical debt. Please retainNotImplemented_nid_no_patchuntil console disassembly/runtime evidence establishes the2function's return and any output effects. If evidence supports this implementation, add a focused regression for the2export; the existingAudioOutInfotest only checks the unsuffixed function.I fetched exact head
b08e311a1b38e7497572e76dce0b391a9ea089ad; current-main conventions andgit diff --checkpass. The checks currently visible are conventions and labels; the PR reports a prior full build for the combined change, but no focused test for this export.Pull request closed