Repository navigation
Conversation
Progress report (8c4a295 → 35ac8da)📈 System libraries: 86.78% (+0.32%, +11 implemented functions) ✅ 11 implemented
|
9 tasks done
This was referenced Oct 12, 2026
utkuhalis
force-pushed
the
pr/voiceqos-endpoints
branch
from
October 12, 2026 07:58
217c436 to
35ac8da
Compare
Contributor
Author
|
Rebased onto current |
This was referenced Oct 12, 2026
Collaborator
|
Closing: no title is shown to reach the endpoint, connection or packet calls on main, and their signatures, the not-initialized result and the attribute handling are assumed from the PS4 library. Reopen with the title ID and the log line when one stops there. |
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
This implements the libSceVoiceQoS endpoint and connection calls, which threw before. They are bookkeeping only: the host has no microphone to encode from and no voice output for received packets.
sceVoiceQoSCreateLocalEndpoint(int* id, user, device)andsceVoiceQoSCreateRemoteEndpoint(int* id)hand out new ids.sceVoiceQoSDeleteLocalEndpointandsceVoiceQoSDeleteRemoteEndpointremove an endpoint. They refuse an unknown endpoint, and one that a connection still uses.sceVoiceQoSConnect(int* id, local, remote)connects a local endpoint to a remote one. A pair can be connected only once.sceVoiceQoSDisconnectremoves the connection.sceVoiceQoSSetLocalEndpointAttribute,sceVoiceQoSSetRemoteEndpointAttributeandsceVoiceQoSGetLocalEndpointAttributetake(id, attribute, value, size). Attributes are stored as given. One can be read back only if it was set before with the same size, because the attribute ids and their defaults are unknown.sceVoiceQoSReadPacket(connection, data, uint32_t* size)never has a packet, so it returns with*sizeset to 0.sceVoiceQoSWritePacketdrops the packet.0x804E0901(not initialized) outsidesceVoiceQoSInit/sceVoiceQoSEnd. Unknown ids and null pointers returnARGUMENT_INVALID(0x804E0902).sceVoiceQoSEnddrops all endpoints and connections.The signatures are the PS4
libSceVoiceQoSones and are not confirmed on a PS5 title. That, the not-initialized error for these calls (assumed from the0x804E09xxnumbering) and the attribute handling are recorded in the existingsceVoiceQoSInit/sceVoiceQoSEndTechnicalDebt entries.#4183 also touches these functions. It adds the not-initialized result while they keep throwing after initialization. This PR covers that path too, so whichever lands second needs a small rebase.
Tested
tools/check_conventions.pypasses, andclang++ -fsyntax-onlypasses on both changed files with the build's flags.guest_voice_qos_tests(existing executable, extended) covers:sceVoiceQoSEnd;End/Initcycle being rejected.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
#4183 changes the same stubs in core/libs/prx/libSceVoiceQoS/Export.cpp: it makes them return the not-initialized error before sceVoiceQoSInit. This PR implements the endpoint, connection, attribute and packet calls, and keeps that not-initialized check, so it covers what #4183 adds. The two cannot both merge as they are. If the maintainers prefer #4183 first, I will rebase this PR onto it and list it under Depends on.