Re: Multimedia Timer



Hello Fernando,

thanks for your help.
>> which is the precision you need?
About one millisecond would be great and absolutely satisfying.

>> You can use Sleep function included from Windows.h
A thread + the Sleep function really works that exact?

>> You can also use timers from other
>> libraries like allegro.
I don't know allegro. I'll search it and find out...



-------- Original-Nachricht --------
Datum: Mon, 23 Apr 2007 22:36:48 +0200
Von: "Fernando Tarín" <lists im gmail com>
An: "dasaspock gmx de" <dasaspock gmx de>
CC: gtkmm-list <gtkmm-list gnome org>
Betreff: Re: Multimedia Timer

>  Which is the precision you need? If you are satisfied with microseconds
> you
> can use Sleep function included from Windows.h in windows or sleep posix
> function included from unistd.h, also i recommend you to use Glib::Thread
> to
> manage the timer is quite easy. You can also use timers from other
> libraries
> like allegro.

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]