feat(libSceAudioOut): implement sceAudioOutSetPadSpkVolume #13781

Closed
rooklz wants to merge 1 commit from upstream-pr/13781 into main
rooklz commented 2026-10-31 05:56:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by rooklz on 2026-10-31T05:56:47Z.


What

  • Implement sceAudioOutSetPadSpkVolume for pad-speaker ports: linear 0–127 gain applied with existing mix level and channel volume.
  • Reject invalid handle, wrong port type, and volume outside 0–127 using the same codes as sceAudioOutSetMixLevelPadSpk.
  • Extend audio_out_mix_level_pad_spk disk-audio tests; debt documents console behaviour as unverified.

Tested

  • python3 tools/check_conventions.py --base upstream/main
  • python3 tools/pr_overlap.py --branch feat/audioout-set-pad-spk-volume
  • cmake -S . -B build-relinker … && cmake --build build-relinker
  • ctest --test-dir build-relinker (529 tests, batched on macOS)
  • Full CI matrix (includes audio_out_mix_level_pad_spk with SDL disk driver)

AI-assisted: yes
Host: macOS Homebrew toolchain; relinker build + module ctest; not exercised on a PS5 console.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attached to this PR)
  • New third-party code is built from source (n/a: none added)
  • Generic behaviour, not specific to one title
  • Depends on:
  • Fixes:
  • Unblocks:
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5095034236 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13781). Originally posted by [rooklz](https://github.com/rooklz) on 2026-10-31T05:56:47Z. --- ### What - Implement `sceAudioOutSetPadSpkVolume` for pad-speaker ports: linear 0–127 gain applied with existing mix level and channel volume. - Reject invalid handle, wrong port type, and volume outside 0–127 using the same codes as `sceAudioOutSetMixLevelPadSpk`. - Extend `audio_out_mix_level_pad_spk` disk-audio tests; debt documents console behaviour as unverified. ### Tested - [x] `python3 tools/check_conventions.py --base upstream/main` - [x] `python3 tools/pr_overlap.py --branch feat/audioout-set-pad-spk-volume` - [x] `cmake -S . -B build-relinker … && cmake --build build-relinker` - [x] `ctest --test-dir build-relinker` (529 tests, batched on macOS) - [ ] Full CI matrix (includes `audio_out_mix_level_pad_spk` with SDL disk driver) AI-assisted: yes Host: macOS Homebrew toolchain; relinker build + module ctest; not exercised on a PS5 console. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [ ] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical debt file <!-- pending re-verification under review --> - [x] No notes, investigation `.md` files or images added to the repository (attached to this PR) - [x] New third-party code is built from source (n/a: none added) - [x] Generic behaviour, not specific to one title - Depends on: <!-- unresolved pending maintainer merge-order review --> - Fixes: <!-- none known --> - Unblocks: <!-- see What/Debt bullet; title ID unmeasured --> - [x] GPUs tested: n/a - [x] AI-assisted: yes

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!13781
No description provided.