Files
AnyPS5/docs/dev/debt/libSceAudioIn.md
T
Dean 7367e19f86 Merge pull request #8938 from hypermoist/feat/audioin-pad-embedded-mic
feat(libSceAudioIn): answer sceAudioInIsPadEmbeddedMic for open ports
2026-10-23 12:52:57 +13:00

4.9 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

Functional

  • sceAudioInIsPadEmbeddedMic (libSceAudioIn) - returns 0 for every open port: on the console it returns 1 when the port captures from the controller's built-in microphone and 0 for another input device, but ports here capture from the host's default input device
  • sceAudioInHqOpen, sceAudioInAsyncOpen - PS5 wrapper validation requires 48000 Hz followed by exactly 128 samples for both calls; HqOpen then requires format 2. The host uses the same SDL capture path for both, so native asynchronous scheduling and high-quality processing are not reproduced. Common port validation, device selection and host capture pacing remain incomplete.
  • sceAudioInGetGain, sceAudioInGetRerouteCount - GetGain writes 1.0f before handle validation and returns 0x80260105 for a null output, as confirmed by the PS5 module. Native handle bit checks and uninitialized/inactive port errors differ from the host port table. Native reroute counters follow device reassignment; the host opens each SDL device once and reports zero.