feat(libSceVoice): implement sceVoiceResetPort #5817
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5817"
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 snipeTR on 2026-10-14T12:14:51Z.
What
Implements
sceVoiceResetPort(uint32_t portId). The signature is the PS Vita one in VitaSDK and the PS3cellVoiceResetPortin RPCS3. Ports here buffer nothing, so a reset checks that the library is initialized and the port exists, as RPCS3 does, and keeps the port's connections, volume and mute flag. Adds a CMakeLists for libSceVoice, equivalent to the default rule, to register the library's first test.Tested
Linux (Ubuntu 24.04 container, GCC 13.3): new
guest_voicepasses. It checks a reset before initialization, aftersceVoiceEndand for unknown or deleted ports throws, and that a reset keeps port info, volume, mute flag and connections.tools/check_test_registration.py,tools/check_conventions.pypass;tools/progress.py --comparereports +1 implemented function. Windows not tested. No title tested.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T13:41:06Z.
Progress report (
e736e5b→ea80fe1)📈 System libraries: 88.39% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceVoiceResetPortImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T13:43:30Z.
Checked on Linux merged onto current main: build + scoped ctest green,
guest_voicepasses and fails whensceVoiceResetPortis reverted to the throwing stub. The(uint32_t portId)signature and the no-op-with-validation behaviour are documented as assumptions indocs/dev/debt/libSceVoice.md, and the new CMakeLists matches the other libraries' pattern. Merging once the full build is green.