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> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| CMakeLists.txt | ||