fixes for vst compilation

This commit is contained in:
Volker Fischer 2010-03-31 19:58:35 +00:00
parent 5d067a45ee
commit f39834457c
3 changed files with 2 additions and 26 deletions

View File

@ -44,7 +44,6 @@ CLlconVST::CLlconVST ( audioMasterCallback AudioMaster ) :
// capabilities of llcon VST plugin
canProcessReplacing (); // supports replacing output
canDoubleReplacing (); // supports double precision processing
// set default program name
GetName ( strProgName );
@ -95,26 +94,3 @@ void CLlconVST::processReplacing ( float** pvIn,
pfOut1[i] = pfIn1[i];
}
}
void CLlconVST::processDoubleReplacing ( double** pvIn,
double** pvOut,
VstInt32 iNumSamples )
{
// reset stop timer
TimerOnOff.start();
// get pointers to actual buffers
double* pdIn0 = pvIn[0];
double* pdIn1 = pvIn[1];
double* pdOut0 = pvOut[0];
double* pdOut1 = pvOut[1];
// TODO here we just copy the data -> add llcon processing here!
for ( int i = 0; i < iNumSamples; i++ )
{
pdOut0[i] = pdIn0[i];
pdOut1[i] = pdIn1[i];
}
}

View File

@ -46,8 +46,7 @@ class CLlconVST : public QObject, public AudioEffectX
public:
CLlconVST ( audioMasterCallback AudioMaster );
virtual void processReplacing ( float** pvIn, float** pvOut, VstInt32 iNumSamples );
virtual void processDoubleReplacing ( double** pvIn, double** pvOut, VstInt32 iNumSamples );
virtual void processReplacing ( float** pvIn, float** pvOut, VstInt32 iNumSamples );
virtual void setProgramName ( char* cName ) { vst_strncpy ( strProgName, cName, kVstMaxProgNameLen ); }
virtual void getProgramName ( char* cName ) { vst_strncpy ( cName, strProgName, kVstMaxProgNameLen ); }

View File

@ -755,6 +755,7 @@
</FileConfiguration>
<FileConfiguration
Name="VST Release|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"