feat(libSceVoice): implement sceVoiceEnableChat and sceVoiceDisableChat #6342
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6342"
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 pushkarreddyy on 2026-10-15T12:25:43Z.
What
Implements
sceVoiceEnableChatandsceVoiceDisableChatinlibSceVoice.sceVoiceResetPort, commitea80fe17f).AudioOut2.csL460) and thesceAudioOut2EnableChat/sceAudioOut2DisableChatmodel, these calls record chat audio state on the initialized library and return 0.sceVoiceInitor aftersceVoiceEndthrowsstd::logic_error("library not initialized").GuestVoice.cppwith unit tests checking initialization checks and successful enable/disable state transitions.docs/dev/debt/libSceVoice.md.Target context: EA SPORTS UFC 6 (PPSA23566, #5996) imports
sceVoiceEnableChatandsceVoiceDisableChat.Tested
python tools/check_conventions.py --base origin/main(0 errors).guest_voicetest suite incore/libs/tests/GuestVoice.cpp.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)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:26:21Z.
Progress report (
9caecfd→d6300dd)📈 System libraries: 90.37% (+0.05%, +2 implemented functions)
✅ 2 implemented
sceVoiceDisableChatsceVoiceEnableChatImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:30:07Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/tests/GuestVoice.cppcore/libs/prx/libSceVoice/Export.cppdocs/dev/debt/libSceVoice.mdcore/libs/prx/libSceVoice/Export.cppcore/libs/tests/GuestVoice.cppdocs/dev/debt/libSceVoice.mdImported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-15T13:33:37Z.
@oneandonlydean @adriadam10 Rebased clean on latest origin/main (
8dc92ae29) with all checks green, implementing sceVoiceEnableChat and sceVoiceDisableChat matching the sceAudioOut2EnableChat model and pairing with #5817. Ready for review when convenient, thanks!Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-15T19:12:42Z.
Review: COMMENTED
Linux run: head
76a6d761emerged ontomain44df21632(clean merge).Machine: Ubuntu 26.04, Intel i7-8700, GCC 15.2, full build, non-GPU tests (Release,
BUILD_TESTING=ON).guest_voice: passes with the PR. With only the test change onmainit aborts with "sceVoiceEnableChat not implemented", so the new checks cover the change.ctest -E "^agc"): no regressions; the only failures arefile_writer_binaryandfile_writer_text, which fail onmainon this machine too.Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-16T15:05:28Z.
@oneandonlydean @adriadam10 Cleanly rebased on latest main (
e0e3ced1e) with all CI checks passing green. Ready for review when convenient!Imported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-18T10:29:37Z.
@oneandonlydean Cleanly rebased onto latest
origin/main(d6300dd1b). Pre-flight convention checks pass with 0 errors. Ready for review when convenient!Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-18T19:24:48Z.
Review finding: open #6447 also changes
sceVoiceEnableChatandsceVoiceDisableChat, but removes the stubs as unconditional success no-ops, while this PR trackschatEnabledand fails if the library is uninitialized. The shared exports therefore have competing semantics, not just a nearby-line conflict. #6447 is a broad compatibility batch and states that exact console behavior is unverified; the focused tests here cover the selected initialized/uninitialized contract. Please coordinate with #6447’s author/maintainers so the same exports are not merged with conflicting behavior. I have not found evidence that the console requires the no-op or the initialization error.