docs(libSceAudioOut): compare sceAudioOutGetPortState with a PS5 and three emulators #16736
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16736"
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 xXPBSXx on 2026-11-07T13:56:28Z.
What
Adds a technical-debt entry for
sceAudioOutGetPortState. AnyPS5 reports output 1, volume 127 and a reroute counter of 0 for a main port; a PS5 reported output 0, volume -1 and a reroute counter of 5 for a 16-bit stereo main port, with 2 channels, flag 0 and active state 0 as AnyPS5 has them. shadPS4 reports volume -1 as the console did, KytyPS5 and fpPS4 report 127, and all three report output 1 and a reroute counter of 0. Only the entry is added; no code changes.Tested
Measured on a PS5 with firmware 11.60 (
kernel_get_fw_version0x11600005), from a homebrew payload process (ps5-payload-sdk v0.45, elfldr), on 2026-11-07 at 04:56 UTC (the console clock was about 1 h 41 min ahead), one run:sceAudioOutGetPortStatereturned 0 and a 16-byte record, identical before and after one output. A title process may differ. The probe source and its raw output are in the first comment. The emulator rows were read from shadPS40614ce324b(audioout.cpplines 463-524), KytyPS55e837a9bea(audio.cpplines 915-928) and fpPS404cefd43e6(ps4_libsceaudioout.paslines 384-418).tools/check_conventions.py --base upstream/mainpasses.Overlap: the 15 open pull requests that change
docs/dev/debt/libSceAudioOut.mdwere checked on 2026-11-07 between 13:35 UTC and 13:44 UTC againstmainc32f751139; two of them (#14330 and #16542) have been merged since. Of the other 13, three already conflict withmainwithout this change (#5021 and #14212 in that file, #12315 in other files), and none conflicts only with this change. The other ten merge cleanly with and without it.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)AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-08T21:55:43Z.
Review: COMMENTED
Docs check of head
c152826a44againstmain0bae53facd: I compared what the entry says about the code with the code, and checked the links and counts. I can't check the console measurements themselves.The description of the code matches
sceAudioOutGetPortState(AudioOut.cpp:609-628): reroute counter 0, volume 127, flag 0, active state 0, output 1 for a main port, and channels capped at 2.