Repository navigation
Conversation
This was referenced Oct 12, 2026
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
|
9 tasks done
Collaborator
|
Closing: PPSA23566 imports |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
sceVoiceResetPort(uint32_t port_id)checks that the library is initialized and that the port exists, then returns 0. An uninitialized library or an unknown port throws, assceVoiceDeletePortdoes. Ports here buffer nothing and are alwaysREADY, so there is nothing to clear; volume, mute flag, bit rate and connections stay as they are.udAxvCePkUsis listed by ps5rs.cellVoiceResetPortalso only validates the port.sceVoiceWriteToIPortaccepts data written to a PCM or voice input port and drops it: nothing reaches a host output, sosceVoiceReadFromOPortstill reports no data. The size is left as given. A null data or size pointer is an invalid argument; writing to a port that is not a PCM or voice input port throws.Both assumptions are recorded in
docs/dev/TechnicalDebt.md(the write path under silent stubs), andsceVoiceResetPortis removed from the list of PPSA23566 imports without a signature.The new
guest_voicetest (registered in a newlibSceVoice/CMakeLists.txt, following the other libraries) covers reset before and after init, unknown and deleted ports, settings surviving a reset, and a PCM write followed by an empty read from the connected output port.Tested
check_conventions.py --base upstream/mainpasses;Export.cppandGuestVoice.cpppassclang++ -std=gnu++20 -fsyntax-only; the test, compiled on the host together withlibSceVoice/Export.cpp(a small shim standing in forNotImplemented_nid_no_patch), exits 0.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)Overlap
The overlap check lists #3747, #3795, #4089 and #4165 for neighbouring lines in docs/dev/TechnicalDebt.md only. None of them implements sceVoiceResetPort or sceVoiceWriteToIPort, and they share no exports or new files with this PR. Whichever lands first, I will rebase the other side's TechnicalDebt lines.