libSceVoice: five exports need their argument lists and checks from the firmware module #13728

Closed
opened 2026-10-31 02:55:08 +00:00 by zaryabzip · 0 comments
zaryabzip commented 2026-10-31 02:55:08 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by zaryabzip on 2026-10-31T02:55:08Z.


What happens

Five libSceVoice exports still throw through NotImplemented_nid_no_patch on every call:

  • sceVoiceGetMemorySize, sceVoiceDeviceInCustomerData, sceVoiceQAEnableRecording and sceVoiceVADPVTAdjustment are declared without parameters, because no prototype is known.
  • sceVoiceVADAdjustment(float, float) has only shadPS4's PS4-derived prototype, with no second source.

They're the library's last todo exports apart from sceVoiceWriteToIPort, which an open PR already covers.

What's known

  • Their names and NIDs are in the PS5 inventories, and docs/dev/debt/libSceVoice.md records each one as an unknown signature.
  • The rest of the library is implemented. The initialization, port and resource checks are documented as confirmed in the same debt file, so the init state and port ids these five might check already exist.
  • shadPS4, KytyPS5, fpPS4 and sharpemu have no body for any of the five, beyond shadPS4's prototype for VADAdjustment.
  • No open pull request touches them. A search of every open PR's diff for the five names found nothing.

What would settle it

For each export, from libSceVoice.sprx:

  • the argument list;
  • the checks, with their order and error codes;
  • what it returns or writes.

In particular: is GetMemorySize a pure size computation from its arguments? Do the two VAD calls and QAEnableRecording only store a value, and is it per port or global? A run on a library that was initialized but has no audio device would be ideal, like @BunnyFl's 13.42 module runs (#13680, #13682). Anything that depends on a real microphone or the audio service can stay unsupported.

What was checked

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

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6130325291 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/13728). Originally posted by [zaryabzip](https://github.com/zaryabzip) on 2026-10-31T02:55:08Z. --- ### What happens Five libSceVoice exports still throw through `NotImplemented_nid_no_patch` on every call: - `sceVoiceGetMemorySize`, `sceVoiceDeviceInCustomerData`, `sceVoiceQAEnableRecording` and `sceVoiceVADPVTAdjustment` are declared without parameters, because no prototype is known. - `sceVoiceVADAdjustment(float, float)` has only shadPS4's PS4-derived prototype, with no second source. They're the library's last todo exports apart from `sceVoiceWriteToIPort`, which an open PR already covers. ### What's known - Their names and NIDs are in the PS5 inventories, and `docs/dev/debt/libSceVoice.md` records each one as an unknown signature. - The rest of the library is implemented. The initialization, port and resource checks are documented as confirmed in the same debt file, so the init state and port ids these five might check already exist. - shadPS4, KytyPS5, fpPS4 and sharpemu have no body for any of the five, beyond shadPS4's prototype for `VADAdjustment`. - No open pull request touches them. A search of every open PR's diff for the five names found nothing. ### What would settle it For each export, from `libSceVoice.sprx`: - the argument list; - the checks, with their order and error codes; - what it returns or writes. In particular: is `GetMemorySize` a pure size computation from its arguments? Do the two VAD calls and `QAEnableRecording` only store a value, and is it per port or global? A run on a library that was initialized but has no audio device would be ideal, like @BunnyFl's 13.42 module runs (#13680, #13682). Anything that depends on a real microphone or the audio service can stay unsupported. ### What was checked `main` at 0cc02f7cde; `tools/progress.py`; emulator sources at shadPS4 0614ce32, KytyPS5 4919fdb6, sharpemu b1ec2866 and fpPS4 04cefd43; 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#13728
No description provided.