On Sat, 20 Oct 2001, Alexander R Angas wrote: > Well first the good news. Thanks to those people that helped, I > finished the prototype of the event sound server and it appears to work (at > least it plays the first song in LSL3 before it stops working).
w00h00!% > And now the bad news which is, surprise surprise, the limitations of > Windows. After finding the sound server playing slowly, I looked around the > Internet, and it appears that everyone agrees that Windows timing is up the > creek. For example, on Win NT, the high res sleeps that we use actually can > only sleep for a minimum of 10 milliseconds, even if you only use a > parameter of 1. On Win9x, the minimum goes up to about 45 ms. On Win2k/NT4, we can use QueryPerformanceCounter (see the previous incanation of win32/usleep.c for usage). DirectX does has very high resolution timers as well -- we don't have to tie it specficially to DirectMusic or integrate any more than we have to. -- http://www.clock.org/~matt
