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> |
||
|---|---|---|
| .. | ||
| AudioOut.cpp | ||
| AudioOut2Context.cpp | ||
| AudioOut2Internal.hpp | ||
| AudioOut2Mastering.cpp | ||
| AudioOut2PadMix.cpp | ||
| AudioOut2PadMix.hpp | ||
| AudioOut2Port.cpp | ||
| AudioOut2SpeakerArray.cpp | ||
| AudioOut2System.cpp | ||
| AudioOut2User.cpp | ||