Commit Graph
20 Commits
Author SHA1 Message Date
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00
Dean Galvin 5f037ade75 Merge main into feat/voice-inithq-vad-version 2026-10-23 14:46:10 +13:00
Dean c8355da25d Merge pull request #9730 from dantdmdarealguy/fix/voice-set-threads-params-gta
fix(voice): accept valid worker priorities and affinities in sceVoiceSetThreadsParams
2026-10-23 14:01:04 +13:00
dantdmdarealguy ed8a900caf fix(voice): accept valid worker priorities and affinities in sceVoiceSetThreadsParams
Mode 1 threw for every input since fe4016f61, which stopped Grand Theft Auto V (PPSA04264) right after sceVoiceInit. It now returns 0 for priorities 256-767 with non-zero affinity masks within 0x1fff, the range sceVideoOutOpen accepts for its service thread; no voice worker threads run, so the values reach no host scheduling, and other values still throw.
2026-10-22 05:17:22 -05:00
SimoneandClaude Opus 5.5 bec128911c test(libSceVoice): rename the bitrate variable the main tests also declare
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 11:45:43 +02:00
SimoneandClaude Opus 5.5 5177cdb9ac feat(libSceVoice): implement mute-all, bitrate and port update
Implement sceVoiceSetMuteFlagAll, sceVoiceSetBitRate and
sceVoiceUpdatePort on main's port model. They return the
not-initialized, port-range and missing-port codes of the other port
calls, validate bitrates against the table sceVoiceCreatePort uses and
throw where the console's code is unknown.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 10:00:23 +02:00
Yossi Yadgar 2d69f763ab test(libSceVoice): cover sceVoiceInitHQ and the VAD versions 2026-10-22 08:25:01 +03:00
boykopovar 1e6077d1fa fix(voice): restore port info frame sizes and output bounds 2026-10-21 21:56:00 +03:00
boykopovar bfbaf72142 fix(voice): restore port parameter errors and volume normalization 2026-10-21 21:55:34 +03:00
boykopovar 09fb692fa1 fix(voice): restore port format validation and resource limits 2026-10-21 21:55:34 +03:00
boykopovar 0f668a2ea8 fix(voice): restore start memory checks and lifecycle errors 2026-10-21 21:55:33 +03:00
boykopovar fe4016f612 fix(voice): restore initialization and thread parameter validation 2026-10-21 21:55:30 +03:00
boykopovar 241fa44094 fix(voice): restore resource layout and port validation 2026-10-21 21:50:54 +03:00
NikoandClaude Opus 5.5 cfb371d5e1 feat(libSceVoice): implement sceVoicePausePortAll and sceVoiceResumePortAll
Both threw. They now take no arguments and return 0x804E0801 while the
library is not initialized and 0 otherwise, as shadPS4's PS4 versions
do; that not-initialized code is the one prosper reads for
sceVoiceStart, and RPCS3's PS3 calls make the same check. Like
sceVoicePausePort they change no reported state: VitaSDK documents that
pausing every port keeps buffered data and the reported port state, and
nothing here processes port data.

guest_voice calls both before sceVoiceInit and after sceVoiceEnd
(0x804E0801), and twice each with ports open, where GetPortInfo still
reports the same type, state and frame size.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 05:01:43 +02:00
Dean Galvin 80338cb4aa Merge main into pr-8059
# Conflicts:
#	docs/dev/debt/libSceVoice.md
2026-10-20 17:57:59 +13:00
KernelPanicNTandClaude Opus 5.5 28d2d70150 fix(libSceVoice): return the module's initialization errors
A second sceVoiceInit returns 0x804E0802, and sceVoiceStart,
sceVoiceCreatePort and sceVoiceGetPortInfo return 0x804E0801 before
checking any argument while the library is not initialized, as the
shipped module does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 17:10:05 +00:00
Lindamea1andClaude Opus 5.5 4faf57a986 feat(libs): add the Voice and IME exports PPSA24191 needs to load
Monster Hunter Wilds imports sceVoicePausePort, sceVoiceResumePort and
sceImeSetConsecutiveClauseConversionEnabled, which no library exported,
so the loader stopped at the first of them.

sceVoicePausePort and sceVoiceResumePort check the library and the port
like sceVoiceResetPort. sceImeSetConsecutiveClauseConversionEnabled has
no public reference and throws.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 12:01:08 +01:00
pushkarreddyy d6300dd1b6 feat(libSceVoice): implement sceVoiceEnableChat and sceVoiceDisableChat 2026-10-18 15:58:47 +05:30
jagrat Singh 586028c991 feat(libSceVoice): implement sceVoiceGetResourceInfo 2026-10-17 23:26:26 +05:30
snipeTRandClaude Opus 5.5 ea80fe17f7 feat(libSceVoice): implement sceVoiceResetPort
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 15:05:58 +03:00