feat(libSceAcm): implement sceAcm_FFT and sceAcm_Panner #3740

Merged
jagrat04 merged 1 commit from upstream-pr/3740 into main 2026-10-11 21:57:24 +00:00
jagrat04 commented 2026-10-11 16:15:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jagrat04 on 2026-10-11T16:15:03Z.


What

Implement sceAcm_FFT and sceAcm_Panner in libSceAcm.
ACM batches execute as silent no-ops in AnyPS5 without producing audio output, so these functions return success (0) matching sceAcm_ConvReverb_SharedInput.
Added guest_acm_tests covering all 8 libSceAcm functions and documented the stub behavior under Silent stubs in TechnicalDebt.md.

Tested

  • Windows 11, MinGW-w64 GCC 15.2.0 (x86_64-ucrt-posix-seh).
  • Unit test GuestAcm.cpp passed with exit code 0.
  • python tools/check_conventions.py passed with 0 violations.
  • python -m unittest discover tools/tests (all 95 tests passed).

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 in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4820465038 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3740). Originally posted by [jagrat04](https://github.com/jagrat04) on 2026-10-11T16:15:03Z. --- ### What Implement `sceAcm_FFT` and `sceAcm_Panner` in `libSceAcm`. ACM batches execute as silent no-ops in AnyPS5 without producing audio output, so these functions return success (`0`) matching `sceAcm_ConvReverb_SharedInput`. Added `guest_acm_tests` covering all 8 `libSceAcm` functions and documented the stub behavior under `Silent stubs` in `TechnicalDebt.md`. ### Tested - Windows 11, MinGW-w64 GCC 15.2.0 (`x86_64-ucrt-posix-seh`). - Unit test `GuestAcm.cpp` passed with exit code 0. - `python tools/check_conventions.py` passed with 0 violations. - `python -m unittest discover tools/tests` (all 95 tests passed). ### 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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in TechnicalDebt - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-11 16:16:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T16:16:25Z.


Progress report (a11c8f7 → 86bd3b6)

📈 System libraries: 85.87% (+0.06%, +2 implemented functions)

✅ 2 implemented
Library Name
libSceAcm sceAcm_FFT
libSceAcm sceAcm_Panner
⚪ 2 behaviourally empty (constant return or throw)
Library Name
libSceAcm sceAcm_FFT
libSceAcm sceAcm_Panner
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111040239 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3740#issuecomment-6111040239). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T16:16:25Z. --- <!-- progress-report --> ### Progress report (a11c8f7 → 86bd3b6) 📈 **System libraries**: 85.87% (+0.06%, +2 implemented functions) <details> <summary>✅ 2 implemented</summary> | Library | Name | | - | - | | libSceAcm | `sceAcm_FFT` | | libSceAcm | `sceAcm_Panner` | </details> <details> <summary>⚪ 2 behaviourally empty (constant return or throw)</summary> | Library | Name | | - | - | | libSceAcm | `sceAcm_FFT` | | libSceAcm | `sceAcm_Panner` | </details>
adriadam10 commented 2026-10-11 21:57:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:57:20Z.


Checked on Linux: guest_acm builds and passes, fails without the Export.cpp change; conventions green; the silent stub is listed in TechnicalDebt and follows sceAcm_ConvReverb_SharedInput on main (KytyPS5's AcmFft/AcmPanner also just return OK). Merging.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114247762 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3740#issuecomment-6114247762). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T21:57:20Z. --- Checked on Linux: `guest_acm` builds and passes, fails without the `Export.cpp` change; conventions green; the silent stub is listed in TechnicalDebt and follows `sceAcm_ConvReverb_SharedInput` on main (KytyPS5's `AcmFft`/`AcmPanner` also just return OK). Merging.
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!3740
No description provided.