AnyPS5/core/libs/prx/libSceAudioOut/src
popcoder565 b2cde4a0f2 fix(audio): pace blocking audio calls with a high-resolution timer
On Windows, nanosleep and this_thread::sleep_for/sleep_until go
through winpthreads, which ends a wait on a 15.6 ms GetTickCount64
step. Blocking sceAudioOutOutput and sceAudioOut2ContextPush calls
returned in bursts about every 16 ms, a blocking sceAudio3dPortPush
ran at about 68 % of real time, and sceAudioInInput without a device
woke anywhere from 1 ms to 31 ms apart. They now sleep with
PreciseSleepUs or the new PreciseSleepUntil.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 01:31:57 +02:00
..
AudioOut.cpp fix(audio): pace blocking audio calls with a high-resolution timer 2026-10-10 01:31:57 +02:00
AudioOut2Context.cpp fix(audio): pace blocking audio calls with a high-resolution timer 2026-10-10 01:31:57 +02:00
AudioOut2Internal.hpp fix(audioout): drop captured buffers of a port whose slot was reused 2026-10-07 22:13:30 +02:00
AudioOut2Mastering.cpp feat(libSceAudioOut): accept sceAudioOut2MasteringTerm 2026-10-09 02:40:20 -04:00
AudioOut2PadMix.cpp feat(audio): play the DualSense speaker and vibration ports on its USB sound card 2026-10-01 01:24:12 +13:00
AudioOut2PadMix.hpp feat(audio): play the DualSense speaker and vibration ports on its USB sound card 2026-10-01 01:24:12 +13:00
AudioOut2Port.cpp fix(audioout2): match measured MAIN port format validation 2026-10-08 17:41:02 -03:00
AudioOut2SpeakerArray.cpp style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
AudioOut2System.cpp feat(libs): name the PPSA23566 stubs from the shadPS4 NID list and implement sleep 2026-10-06 17:28:39 -05:00
AudioOut2User.cpp feat(audio): AudioOut2 SDL output queue, ATRAC9 decoder in libSceAjm.native 2026-09-25 16:27:49 -07:00