mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 16:43:05 -05:00
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>