@@ -1299,7 +1299,7 @@ private: | |||||
void splice() | void splice() | ||||
{ | { | ||||
dataPending.spliceAppend(data, true); | |||||
dataPending.spliceAppend(data); | |||||
} | } | ||||
}; | }; | ||||
@@ -219,7 +219,7 @@ private: | |||||
void splice() | void splice() | ||||
{ | { | ||||
dataPendingRT.spliceAppend(data, true); | |||||
dataPendingRT.spliceAppend(data); | |||||
} | } | ||||
} fInEvents; | } fInEvents; | ||||
@@ -474,7 +474,7 @@ struct CarlaPluginProtectedData { | |||||
{ | { | ||||
if (mutex.tryLock()) | if (mutex.tryLock()) | ||||
{ | { | ||||
dataPendingRT.spliceAppend(data, true); | |||||
dataPendingRT.spliceAppend(data); | |||||
mutex.unlock(); | mutex.unlock(); | ||||
} | } | ||||
} | } | ||||
@@ -73,7 +73,7 @@ struct PostRtEvents { | |||||
{ | { | ||||
if (mutex.tryLock()) | if (mutex.tryLock()) | ||||
{ | { | ||||
dataPendingRT.spliceAppend(data, true); | |||||
dataPendingRT.spliceAppend(data); | |||||
mutex.unlock(); | mutex.unlock(); | ||||
} | } | ||||
} | } | ||||
@@ -160,18 +160,6 @@ void carla_msleep(const unsigned int msecs) | |||||
#endif | #endif | ||||
} | } | ||||
static inline | |||||
void carla_usleep(const unsigned int usecs) | |||||
{ | |||||
CARLA_ASSERT(usecs > 0); | |||||
#ifdef CARLA_OS_WIN | |||||
Sleep(usecs / 1000); | |||||
#else | |||||
usleep(usecs); | |||||
#endif | |||||
} | |||||
// ------------------------------------------------- | // ------------------------------------------------- | ||||
// carla_setenv | // carla_setenv | ||||
@@ -287,7 +287,7 @@ public: | |||||
} | } | ||||
} | } | ||||
void spliceAppend(List& list, const bool init = false) | |||||
void spliceAppend(List& list, const bool init = true) | |||||
{ | { | ||||
if (init) | if (init) | ||||
{ | { | ||||
@@ -302,7 +302,7 @@ public: | |||||
} | } | ||||
} | } | ||||
void spliceInsert(List& list, const bool init = false) | |||||
void spliceInsert(List& list, const bool init = true) | |||||
{ | { | ||||
if (init) | if (init) | ||||
{ | { | ||||