AnyPS5/docs/dev/debt/libSceAudioIn.md

1.4 KiB

libSceAudioIn technical debt

Silent stubs

  • sceAudioInInit (libSceAudioIn) - returns 0 without library-wide setup, as sceAudioOutInit does; each sceAudioInOpen opens its own SDL capture device

Unknown function info

  • sceAudioInIsPadEmbeddedMic (libSceAudioIn) - name from its NID (X+4jdIS75P0); signature int32_t(int32_t handle) from the Ghost of Yotei (PPSA26344) call site in #2355; the result's meaning is unconfirmed, so it still throws rather than invent one

Functional

  • sceAudioInHqOpen, sceAudioInAsyncOpen (libSceAudioIn) open the same port as sceAudioInOpen, so sceAudioInInput, sceAudioInGetSilentState and sceAudioInClose accept their handles. The signatures agree across shadPS4, SharpProspero and KytyPS5. HqOpen is limited to 128 samples at 48 kHz; AsyncOpen rejects sizes above 384 and throws for currently unverified inputs. Host capture pacing and console behavior remain unverified.