VST fixes
This commit is contained in:
parent
635adff1cb
commit
b53cf96179
5 changed files with 33 additions and 4 deletions
|
@ -33,7 +33,8 @@ AudioEffect* createEffectInstance ( audioMasterCallback AudioMaster )
|
|||
}
|
||||
|
||||
CLlconVST::CLlconVST ( audioMasterCallback AudioMaster ) :
|
||||
AudioEffectX ( AudioMaster, 1, 0 ) // 1 program with no parameters (=0)
|
||||
AudioEffectX ( AudioMaster, 1, 0 ), // 1 program with no parameters (=0)
|
||||
Client ( LLCON_DEFAULT_PORT_NUMBER )
|
||||
{
|
||||
// stereo input/output
|
||||
setNumInputs ( 2 );
|
||||
|
|
|
@ -28,11 +28,16 @@
|
|||
// copy the VST SDK in the llcon/windows directory: "llcon/windows/vstsdk2.4" to
|
||||
// get it work
|
||||
#include "audioeffectx.h"
|
||||
#include <qtimer.h>
|
||||
#include "global.h"
|
||||
#include "client.h"
|
||||
|
||||
|
||||
/* Classes ********************************************************************/
|
||||
class CLlconVST : public AudioEffectX
|
||||
class CLlconVST : public AudioEffectX, public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CLlconVST ( audioMasterCallback AudioMaster );
|
||||
|
||||
|
@ -50,6 +55,8 @@ public:
|
|||
protected:
|
||||
bool GetName ( char* cName );
|
||||
char strProgName[kVstMaxProgNameLen + 1];
|
||||
|
||||
CClient Client;
|
||||
};
|
||||
|
||||
#endif /* !defined ( LLCONVST_HOIHGE76G34528_3_434DFGUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
|
||||
/* Classes ********************************************************************/
|
||||
class CVSTSound : public CSoundBase
|
||||
class CSound : public CSoundBase
|
||||
{
|
||||
public:
|
||||
CSound ( void (*fpNewCallback) ( CVector<int16_t>& psData, void* arg ), void* arg );
|
||||
|
|
|
@ -43,6 +43,7 @@ rem .h --------------
|
|||
%qtdir%\bin\moc.exe ..\src\soundbase.h -o moc\moc_soundbase.cpp
|
||||
%qtdir%\bin\moc.exe ..\src\testbench.h -o moc\moc_testbench.cpp
|
||||
%qtdir%\bin\moc.exe ..\src\serverlogging.h -o moc\moc_serverlogging.cpp
|
||||
%qtdir%\bin\moc.exe ..\src\vstmain.h -o moc\moc_vstmain.cpp
|
||||
|
||||
|
||||
rem .ui -------------
|
||||
|
|
|
@ -244,7 +244,7 @@
|
|||
InlineFunctionExpansion="0"
|
||||
WholeProgramOptimization="true"
|
||||
AdditionalIncludeDirectories=""$(QTDIR)\include";"$(QTDIR)\include\Qt";../src;ASIOSDK2/common;ASIOSDK2/host;ASIOSDK2/host/pc;../libs/celt;vstsdk2.4\public.sdk\source\vst2.x;vstsdk2.4"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;QT_DLL;QT_THREAD_SUPPORT;USE_ALLOCA;_USRDLL;LLCON_EXPORTS;_CRT_SECURE_NO_DEPRECATE=1"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;QT_DLL;QT_THREAD_SUPPORT;USE_ALLOCA;LLCON_VST_PLUGIN;_USRDLL;LLCON_EXPORTS;_CRT_SECURE_NO_DEPRECATE=1"
|
||||
StringPooling="false"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="false"
|
||||
|
@ -1182,6 +1182,26 @@
|
|||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moc\moc_vstmain.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\moc\resources.cpp"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue