Commit Graph

7 Commits

Author SHA1 Message Date
Alexandre Ratchov 534383ee5c expose CPU usage, ie the time spent on calculations compared
to the time spend on sleeping in poll()
2011-06-27 09:10:58 +02:00
Alexandre Ratchov 4667f82af0 don't exit from the main loop if there are pending time outs.
Fixes midi inputs not being properly drained when they are
temporarily blocked to limit input data rate
2011-06-02 19:37:49 +02:00
Alexandre Ratchov 0602f18759 If there are no descriptors to poll, just sleep until SIGALRM
is posted and then update all timers restart the event loop.
Fixes throtteling while midi inputs are drained.
2011-06-02 18:08:58 +02:00
Alexandre Ratchov eed7d0dc80 use timerclear macro
from okan@
2011-03-17 08:44:37 +01:00
Alexandre Ratchov 2f1ceb6662 unbreak compilation without DEBUG defined 2010-11-05 17:10:19 +01:00
Alexandre Ratchov a17607cf7a add initial alsa support from jakemsr 2010-08-19 23:00:06 +02:00
Alexandre Ratchov f268454989 import from OpenBSD 2010-08-19 22:38:45 +02:00