some more vst work
This commit is contained in:
parent
b53cf96179
commit
836c7f0361
3 changed files with 19 additions and 14 deletions
|
@ -48,6 +48,10 @@ CLlconVST::CLlconVST ( audioMasterCallback AudioMaster ) :
|
|||
|
||||
// set default program name
|
||||
GetName ( strProgName );
|
||||
|
||||
// connect timer event
|
||||
connect ( &TimerOnOff, SIGNAL ( timeout() ),
|
||||
this, SLOT ( OnTimerOnOff() ) );
|
||||
}
|
||||
|
||||
bool CLlconVST::GetName ( char* cName )
|
||||
|
@ -58,6 +62,11 @@ bool CLlconVST::GetName ( char* cName )
|
|||
return true;
|
||||
}
|
||||
|
||||
void CLlconVST::OnTimerOnOff()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CLlconVST::processReplacing ( float** pvIn,
|
||||
float** pvOut,
|
||||
VstInt32 iNumSamples )
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
|
||||
/* Classes ********************************************************************/
|
||||
class CLlconVST : public AudioEffectX, public QObject
|
||||
class CLlconVST : public QObject, public AudioEffectX
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
@ -57,6 +57,10 @@ protected:
|
|||
char strProgName[kVstMaxProgNameLen + 1];
|
||||
|
||||
CClient Client;
|
||||
QTimer TimerOnOff;
|
||||
|
||||
protected slots:
|
||||
void OnTimerOnOff();
|
||||
};
|
||||
|
||||
#endif /* !defined ( LLCONVST_HOIHGE76G34528_3_434DFGUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -34,20 +34,12 @@
|
|||
class CSound : public CSoundBase
|
||||
{
|
||||
public:
|
||||
CSound ( void (*fpNewCallback) ( CVector<int16_t>& psData, void* arg ), void* arg );
|
||||
CSound ( void (*fpNewCallback) ( CVector<int16_t>& psData, void* arg ), void* arg ) :
|
||||
CSoundBase ( true, fpNewCallback, arg )
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
virtual ~CSound() {}
|
||||
|
||||
// these functions are not actually used -> dummies
|
||||
virtual int Init ( const int ) {}
|
||||
virtual void Start() {}
|
||||
virtual void Stop() {}
|
||||
virtual void OpenDriverSetup() {}
|
||||
int GetNumDev() { return 1; }
|
||||
QString GetDeviceName ( const int iDiD ) { return "VST"; }
|
||||
QString SetDev ( const int iNewDev ) {}
|
||||
int GetDev() { return 0; }
|
||||
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif // !defined ( _VSTSOUND_H__9518A346345768_11D3_8C0D_EEBF182CF549__INCLUDED_ )
|
||||
|
|
Loading…
Reference in a new issue