13
0

Use Glib::usleep() for consistency

This commit is contained in:
John Emmas 2016-06-18 11:34:14 +01:00
parent 425c40ff08
commit 6ca3c67046

View File

@ -26,7 +26,7 @@
#include <fcntl.h> #include <fcntl.h>
#include "pbd/gstdio_compat.h" #include "pbd/gstdio_compat.h"
#include <glibmm/miscutils.h> #include <glibmm.h>
#include <pbd/convert.h> #include <pbd/convert.h>
#include <pbd/pthread_utils.h> #include <pbd/pthread_utils.h>
@ -2399,7 +2399,7 @@ bool
OSC::periodic (void) OSC::periodic (void)
{ {
if (!tick) { if (!tick) {
usleep(100); // let flurry of signals subside Glib::usleep(100); // let flurry of signals subside
if (bank_dirty) { if (bank_dirty) {
_recalcbanks (); _recalcbanks ();
bank_dirty = false; bank_dirty = false;