docs(libSceAudioOut): name what the emulators do with the volume of sceAudioOutSetVolume #14048
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14048"
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-10-31T17:02:32Z.
What
Adds one entry to the libSceAudioOut technical debt:
sceAudioOutSetVolumereads one volume per flagged channel from the array, stores it as given with no range check and returns 0, which is an assumption and not measured on hardware. shadPS4 and fpPS4 (both PS4) read only the first value, use it for every flagged channel and returnSCE_AUDIO_OUT_ERROR_INVALID_VOLUMEwhen it is above 32768 (0 dB), while KytyPS5 (PS5) reads one value per channel and checks no range. The entry does not say which is right and no code or test changes.Tested
Documentation only.
tools/check_conventions.py --base upstream/mainpasses. Based onmain73f4f7e06e, and it merges withmain474030e584without a conflict (checked 2026-10-31 16:55 UTC). I read the three emulators at the commits named in the entry (KytyPS5 5e837a9beac82c031868eaad9348d6a48245fb99, shadPS4 0614ce324be092791b758d79f93d9f1ca5b10a81, fpPS4 04cefd43e6fddd1ab033e7980cd356d14c964905) and oursceAudioOutSetVolumeinAudioOut.cpp.Overlap
Checked on 2026-10-31 at 13:54 UTC against
main73f4f7e06e(1632 open pull requests). I took the changed files of each open pull request fromgit diff --name-onlyagainst its merge base. Ten of them changedocs/dev/debt/libSceAudioOut.md: #13913, #13885, #13836, #13781, #13694, #13676, #12863, #12791, #12765 and #5021.git merge-treeagainst thatmain: this head alone merges cleanly, and so do its pairs with #13913, #13885, #13836, #13781, #13694, #13676, #12791 and #12765. The pairs with #12863 and #5021 conflict, but each of them conflicts withmainon its own. #13885, #13676 and #12765 are my own pull requests on the same file; they merge cleanly with this one in either order, so none has to go first. Checked once more on 2026-10-31 at 16:55 UTC againstmain474030e584: of the 63 pull requests opened since 13:45 UTC, #13988, #13989 and #13998 change these files, and each merges the same with and without this change.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).
🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T17:07:41Z.
Review: APPROVED
Reviewed — looks good
The new debt entry accurately distinguishes AnyPS5’s unmeasured behavior from the three emulator references and does not present emulator behavior as a console measurement.
What I ran
Reviewed head
ea4e14638f928502bd9a44d796d18520fbdfe640againstmainat474030e58424fefdb65e5df9f3820810fbb4553c; the current-base merge preview is clean. Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0. Documentation only; no build or compilation was applicable.I also compared the added description with
sceAudioOutSetVolumein AnyPS5 and the emulator implementations at the pinned commits named in the debt entry.Results
Relevant unedited output
Convention check:
Hosted checks:
Findings
Blocking
None found.
Non-blocking
None.
Sources
Not verified
No behavior was tested on PS5 hardware. This documentation-only change has no build or runtime test result.