timeBeginPeriod() + timeGetTime() +...+ Sleep() + timeEndPeriod()
http://msdn.microsoft.com/ru-RU/library/windows/desktop/dd757624%28v=vs.85%29.aspx


2013/3/31 Mike Versteeg <[email protected]>

> Thanks Alex. This is much like I do now (using Sleep()), but as I
> mentioned the problem with these one shot timer solutions is the event is
> easily interrupted giving me +/- 10 ms inaccuracy at times. I ran tests and
> a periodic timer gives off a much more stable clock. Unless Sleep() itself
> is more susceptible to interrupts than Select()?
>
> So libav* does not offer a periodic timer (with OS interdependency as a
> bonus)? Certainly explains why I could not find any, which kind of
> surprised me..
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to