Browse Source

win64 fixes

tags/1.9.6
falkTX 10 years ago
parent
commit
efe3e92195
2 changed files with 11 additions and 2 deletions
  1. +1
    -1
      source/includes/CarlaDefines.h
  2. +10
    -1
      source/jackbridge/JackBridge2.cpp

+ 1
- 1
source/includes/CarlaDefines.h View File

@@ -88,7 +88,7 @@
#if defined(CARLA_OS_WIN64)
# define P_INT64 "%I64i"
# define P_UINT64 "%I64u"
# define P_INTPTR "%I64i"
# define P_INTPTR "%lli"
# define P_UINTPTR "%llx"
# define P_SIZE "%I64u"
#elif defined(CARLA_OS_WIN32)


+ 10
- 1
source/jackbridge/JackBridge2.cpp View File

@@ -59,7 +59,16 @@ bool jackbridge_sem_timedwait(void* sem, uint secs) noexcept
#ifdef JACKBRIDGE_DUMMY
return false;
#else
return carla_sem_timedwait((sem_t*)sem, secs);
if (carla_sem_timedwait((sem_t*)sem, secs))
return true;
/*
* As a sspecial case we ignore timeouts for plugin bridges.
* Some big Windows plugins (Kontakt, FL Studio VST) can time out when initializing.
* If any other error happens the plugin bridge is stopped.
*/
if (errno == ETIMEDOUT)
return true;
return false;
#endif
}



Loading…
Cancel
Save