diff options
author | John Emmas <johne53@tiscali.co.uk> | 2013-08-04 15:36:07 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2013-08-04 15:36:07 +0100 |
commit | 490311bc081b12d328e6e02cac8170538e96fb2f (patch) | |
tree | 6a938f2619d21a1f669b855f41ea4e6a4fbfcd0b /libs/ardour/mtc_slave.cc | |
parent | 07d94b9b4868fad26c9e8ac2ae4901849a09b8ac (diff) |
'libs/ardour' - Main body of changes required for building with MSVC
Diffstat (limited to 'libs/ardour/mtc_slave.cc')
-rw-r--r-- | libs/ardour/mtc_slave.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc index db98664292..c41c6d6c94 100644 --- a/libs/ardour/mtc_slave.cc +++ b/libs/ardour/mtc_slave.cc @@ -31,6 +31,8 @@ #include "ardour/session.h" #include "ardour/audioengine.h" +#include <glibmm/timer.h> + #include "i18n.h" using namespace std; @@ -233,7 +235,7 @@ MTC_Slave::read_current (SafeTime *st) const do { if (tries == 10) { error << _("MTC Slave: atomic read of current time failed, sleeping!") << endmsg; - usleep (20); + Glib::usleep (20); tries = 0; } *st = current; @@ -297,7 +299,7 @@ MTC_Slave::update_mtc_qtr (Parser& /*p*/, int which_qtr, framepos_t now) * when a full TC has been received * OR on locate */ void -MTC_Slave::update_mtc_time (const byte *msg, bool was_full, framepos_t now) +MTC_Slave::update_mtc_time (const MIDI::byte *msg, bool was_full, framepos_t now) { busy_guard1++; |