Hi J.Fojtik,
Great that you have time to debug,fix and provide patches.
I have not testet the code, but I have a question:
When you use DllMain, would that not create problems if you link static?
Would it not be better to move the code in DllMain to initTimer
Best regards
Lars
On Tue, Feb 27, 2018 at 11:36 AM, <canfestival-devel@lists.sourceforge.net>
wrote:
> Dears,
>
> I has been fixed:
> CanFestival\drivers\timers_win32\timers_win32.c
> see attachment.
>
> The function timeGetTime() is not granted to have better granularity than
> 5ms.
> It causes big jitter.
>
> After my fix, the timing jitter will signifficantly drop.
>
>
> And more, when "QueryPerformanceCounter()" is not available, the older
> timing mechanism
> is used instead. It is granted on WindowsXP that performance counter is
> always available.
>
> ----
>
> The new think is to add DllMain() function. The whole CanFestival DLL does
> not have this
> function, so adding it to timers_win32.c would not hurt anybody.
>
> best regards
> J.Fojtik
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Canfestival-devel mailing list
> Canfestival-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Canfestival-devel mailing list
Canfestival-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/canfestival-devel