blob: bace1255d4843a4d767f10628bbecbaa4989cf07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include "engine/engineobject.h"
#include "preferences/usersettings.h"
class ControlPotmeter;
class ControlProxy;
class EngineDelay : public EngineObject {
Q_OBJECT
public:
EngineDelay(const QString& group, const ConfigKey& delayControl, bool bPersist = true);
virtual ~EngineDelay();
void process(CSAMPLE* pInOut, const int iBufferSize);
void setDelay(double newDelay);
public slots:
void slotDelayChanged();
private:
ControlPotmeter* m_pDelayPot;
ControlProxy* m_pSampleRate;
CSAMPLE* m_pDelayBuffer;
int m_iDelayPos;
int m_iDelay;
};
|