Native linux VST support (#6048)

Co-authored-by: Dominic Clark <mrdomclark@gmail.com>
This commit is contained in:
akimaze
2022-03-02 19:47:54 +01:00
committed by GitHub
parent 7db3fa94a1
commit a08e7f9029
11 changed files with 449 additions and 49 deletions

View File

@@ -36,7 +36,6 @@
#include <string>
#include <cassert>
#if !(defined(LMMS_HAVE_SYS_IPC_H) && defined(LMMS_HAVE_SEMAPHORE_H))
#define SYNC_WITH_SHM_FIFO
#define USE_QT_SEMAPHORES
@@ -440,6 +439,7 @@ enum RemoteMessageIDs
IdSavePresetFile,
IdLoadPresetFile,
IdDebugMessage,
IdIdle,
IdUserBase = 64
} ;
@@ -1000,7 +1000,6 @@ private:
sample_rate_t m_sampleRate;
fpp_t m_bufferSize;
} ;
#endif

View File

@@ -30,7 +30,11 @@
#include <type_traits>
// Calling convention
#ifdef _WIN32
#define VST_CALL_CONV __cdecl
#else
#define VST_CALL_CONV
#endif
template<typename T>
constexpr int32_t CCONST(T a, T b, T c, T d)