From 490311bc081b12d328e6e02cac8170538e96fb2f Mon Sep 17 00:00:00 2001 From: John Emmas Date: Sun, 4 Aug 2013 15:36:07 +0100 Subject: 'libs/ardour' - Main body of changes required for building with MSVC --- libs/ardour/mtc_slave.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libs/ardour/mtc_slave.cc') 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 + #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++; -- cgit v1.2.3