libSceVorbisDec and libSceAudiodec: five exports need their argument lists and checks from the firmware module #13680

Open
opened 2026-10-30 23:38:02 +00:00 by zaryabzip · 0 comments
zaryabzip commented 2026-10-30 23:38:02 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by zaryabzip on 2026-10-30T23:38:02Z.


What happens

Five audio decoder exports are the last ones their libraries still mark todo, and every call throws through NotImplemented_nid_no_patch. Each is declared without parameters because nothing public gives its prototype:

Library Export Debt entry
libSceVorbisDec sceVorbisDecGetDecodePriority, sceVorbisDecSetDecodePriority, sceVorbisDecGetLastDecodeError docs/dev/debt/libSceVorbisDec.md
libSceAudiodec sceAudiodecGetAjmContext, sceAudiodecUnregisterCodec docs/dev/debt/libSceAudiodec.md

What's known

  • The names and NIDs are function exports in the 13.60 inventory, and the VorbisDec ones are in the NID database. Nothing else is known.
  • shadPS4, KytyPS5, fpPS4, sharpemu and prosper have no body for any of them.
  • No open pull request touches them. A search of every open PR's diff for the five names found nothing.
  • The rest of each library is implemented: libSceVorbisDec on libvorbisfile, and libSceAudiodec on the Ajm decoders. Once the prototypes and checks are known, these five should be small.

What would settle it

The argument list, the checks with their order and error codes, and what each returns or writes, read from libSceVorbisDec.sprx and libSceAudiodec.sprx. For example, does the priority pair keep one process-wide value, and is the last decode error per thread or per handle? A disassembly read is enough, like @BunnyFl's 13.42 module runs or @edubox's 11.00 module reads. Behaviour that only the Ajm service would decide is useful to know too, so it can stay unsupported while the local checks get implemented.

What was checked

main at 5857e2e98f; tools/progress.py; emulator sources at shadPS4 0614ce32, KytyPS5 4919fdb6, sharpemu b1ec2866, fpPS4 04cefd43 and prosper ee3346ad; and the diffs of all open PRs.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6128651832 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/13680). Originally posted by [zaryabzip](https://github.com/zaryabzip) on 2026-10-30T23:38:02Z. --- ### What happens Five audio decoder exports are the last ones their libraries still mark todo, and every call throws through `NotImplemented_nid_no_patch`. Each is declared without parameters because nothing public gives its prototype: | Library | Export | Debt entry | |---|---|---| | libSceVorbisDec | `sceVorbisDecGetDecodePriority`, `sceVorbisDecSetDecodePriority`, `sceVorbisDecGetLastDecodeError` | `docs/dev/debt/libSceVorbisDec.md` | | libSceAudiodec | `sceAudiodecGetAjmContext`, `sceAudiodecUnregisterCodec` | `docs/dev/debt/libSceAudiodec.md` | ### What's known - The names and NIDs are function exports in the [13.60 inventory](https://github.com/xdCloudy/PS5-13.60-Function-Stub-Library/blob/bfec40deb4c47a17d7603ee2bc79aa6862c0c56b/data/firmware-13.60/libsceaudiodec-2dbab67864.jsonl), and the VorbisDec ones are in the NID database. Nothing else is known. - shadPS4, KytyPS5, fpPS4, sharpemu and prosper have no body for any of them. - No open pull request touches them. A search of every open PR's diff for the five names found nothing. - The rest of each library is implemented: libSceVorbisDec on libvorbisfile, and libSceAudiodec on the Ajm decoders. Once the prototypes and checks are known, these five should be small. ### What would settle it The argument list, the checks with their order and error codes, and what each returns or writes, read from `libSceVorbisDec.sprx` and `libSceAudiodec.sprx`. For example, does the priority pair keep one process-wide value, and is the last decode error per thread or per handle? A disassembly read is enough, like @BunnyFl's 13.42 module runs or @edubox's 11.00 module reads. Behaviour that only the Ajm service would decide is useful to know too, so it can stay unsupported while the local checks get implemented. ### What was checked `main` at 5857e2e98f; `tools/progress.py`; emulator sources at shadPS4 0614ce32, KytyPS5 4919fdb6, sharpemu b1ec2866, fpPS4 04cefd43 and prosper ee3346ad; and the diffs of all open PRs. AI-assisted: yes (Claude Code)
Sign in to join this conversation.
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#13680
No description provided.