feat(voiceqos): implement sceVoiceQoSInit #730
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/730"
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 alfalfa-star on 2026-10-05T18:12:08Z.
What
Implement
sceVoiceQoSInit, which threw.PPSA14632 (Unreal Engine) allocates a 0x40000-byte block and calls
sceVoiceQoSInit(block, 0x40000, 0x20000000)during startup. On success it marks voice as initialized and callssceVoiceQoSEndat shutdown; on a nonzero return it keeps voice chat off (seen in a debugger). Init now records the library as initialized and returns 0, as the fpPS4 and SharpEmu reimplementations do. The error codes are unknown, so a null or empty memory block, an app type other than 0x20000000 and a second initialization throw. The memory block is not used, as no endpoint is implemented. The assumptions are recorded in TechnicalDebt.The library gets its own
CMakeLists.txtso it can register a test, followinglibSceRtc.#645 declares the other libSceVoiceQoS exports as throwing stubs right after this function in the same file and leaves
sceVoiceQoSInitunchanged; whichever lands second needs a small rebase there.sceVoiceQoSEndis left to it.Tested
guest_voice_qostest: success, the second initialization, a null and an empty block and another app type. Full ctest: 291/291 apart from the three wave64 pixel tests that fail onmainon this GPU (RX 9070 XT, RADV).sceNpSessionSignalingInitialize(a null read through an engine object), before calling any further libSceVoiceQoS function. The cause is not identified yet.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-05T21:10:17Z.
Tested on Windows 11 (MinGW-w64 GCC 15.2.0, Release, NVIDIA RTX 3080 Laptop) with PPSA26344 (Ghost of Yōtei, v1.008).
main2707b3a3(clean), together with our open pull requests:guest_voice_qosbuilds and passes on Windows.sceVoiceQoSInit(block, 0x40000, 0x10000000)at eboot 0xe307bf. The block comes from the title's allocator (esi= 0x40000,edx= 0x10000000). On a nonzero return it calls another import and frees the block.mainthis stops atsceVoiceQoSInit not implemented.sceVoiceQoSInit: unsupported app type 268435456.compute shader 0x800040a500: guest sampler descriptor uses unnormalized coordinates).So two app types have been seen so far: 0x20000000 (PPSA14632) and 0x10000000 (PPSA26344). Both titles pass a 0x40000-byte block.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-05T23:04:30Z.
Progress report (
0518f0e→d7f3b7c)📈 System libraries: 79.24% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceVoiceQoSInit