clang-tidy: Apply modernize-use-override everywhere (#6439)
... to mark overriding functions `override` instead of `virtual`.
This commit is contained in:
@@ -37,10 +37,10 @@ class AmplifierEffect : public Effect
|
||||
{
|
||||
public:
|
||||
AmplifierEffect( Model* parent, const Descriptor::SubPluginFeatures::Key* key );
|
||||
virtual ~AmplifierEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame* buf, const fpp_t frames );
|
||||
~AmplifierEffect() override;
|
||||
bool processAudioBuffer( sampleFrame* buf, const fpp_t frames ) override;
|
||||
|
||||
virtual EffectControls* controls()
|
||||
EffectControls* controls() override
|
||||
{
|
||||
return &m_ampControls;
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class AmplifierControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
AmplifierControlDialog( AmplifierControls* controls );
|
||||
virtual ~AmplifierControlDialog()
|
||||
~AmplifierControlDialog() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -45,23 +45,23 @@ class AmplifierControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
AmplifierControls( AmplifierEffect* effect );
|
||||
virtual ~AmplifierControls()
|
||||
~AmplifierControls() override
|
||||
{
|
||||
}
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return "AmplifierControls";
|
||||
}
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog* createView()
|
||||
gui::EffectControlDialog* createView() override
|
||||
{
|
||||
return new gui::AmplifierControlDialog( this );
|
||||
}
|
||||
|
||||
@@ -37,10 +37,10 @@ class BassBoosterEffect : public Effect
|
||||
{
|
||||
public:
|
||||
BassBoosterEffect( Model* parent, const Descriptor::SubPluginFeatures::Key* key );
|
||||
virtual ~BassBoosterEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame* buf, const fpp_t frames );
|
||||
~BassBoosterEffect() override;
|
||||
bool processAudioBuffer( sampleFrame* buf, const fpp_t frames ) override;
|
||||
|
||||
virtual EffectControls* controls()
|
||||
EffectControls* controls() override
|
||||
{
|
||||
return &m_bbControls;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ class BassBoosterControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
BassBoosterControlDialog( BassBoosterControls* controls );
|
||||
virtual ~BassBoosterControlDialog()
|
||||
~BassBoosterControlDialog() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -39,23 +39,23 @@ class BassBoosterControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
BassBoosterControls( BassBoosterEffect* effect );
|
||||
virtual ~BassBoosterControls()
|
||||
~BassBoosterControls() override
|
||||
{
|
||||
}
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return "bassboostercontrols";
|
||||
}
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog* createView()
|
||||
gui::EffectControlDialog* createView() override
|
||||
{
|
||||
return new gui::BassBoosterControlDialog( this );
|
||||
}
|
||||
|
||||
@@ -74,25 +74,25 @@ class BitInvader : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
BitInvader(InstrumentTrack * _instrument_track );
|
||||
virtual ~BitInvader();
|
||||
~BitInvader() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc,
|
||||
QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc,
|
||||
QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames() const
|
||||
f_cnt_t desiredReleaseFrames() const override
|
||||
{
|
||||
return( 64 );
|
||||
}
|
||||
|
||||
virtual gui::PluginView * instantiateView( QWidget * _parent );
|
||||
gui::PluginView * instantiateView( QWidget * _parent ) override;
|
||||
|
||||
protected slots:
|
||||
void lengthChanged();
|
||||
@@ -124,7 +124,7 @@ public:
|
||||
BitInvaderView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
|
||||
virtual ~BitInvaderView() {};
|
||||
~BitInvaderView() override {};
|
||||
|
||||
protected slots:
|
||||
//void sampleSizeChanged( float _new_sample_length );
|
||||
@@ -142,7 +142,7 @@ protected slots:
|
||||
void smoothClicked( void );
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
Knob * m_sampleLengthKnob;
|
||||
PixmapButton * m_sinWaveBtn;
|
||||
|
||||
@@ -40,10 +40,10 @@ class BitcrushEffect : public Effect
|
||||
{
|
||||
public:
|
||||
BitcrushEffect( Model* parent, const Descriptor::SubPluginFeatures::Key* key );
|
||||
virtual ~BitcrushEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame* buf, const fpp_t frames );
|
||||
~BitcrushEffect() override;
|
||||
bool processAudioBuffer( sampleFrame* buf, const fpp_t frames ) override;
|
||||
|
||||
virtual EffectControls* controls()
|
||||
EffectControls* controls() override
|
||||
{
|
||||
return &m_controls;
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ class BitcrushControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
BitcrushControlDialog( BitcrushControls * controls );
|
||||
virtual ~BitcrushControlDialog()
|
||||
~BitcrushControlDialog() override
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
@@ -40,21 +40,21 @@ class BitcrushControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
BitcrushControls( BitcrushEffect * eff );
|
||||
virtual ~BitcrushControls();
|
||||
~BitcrushControls() override;
|
||||
|
||||
virtual void saveSettings( QDomDocument & doc, QDomElement & elem );
|
||||
virtual void loadSettings( const QDomElement & elem );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & doc, QDomElement & elem ) override;
|
||||
void loadSettings( const QDomElement & elem ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return( "bitcrushcontrols" );
|
||||
}
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return( 9 );
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog * createView()
|
||||
gui::EffectControlDialog * createView() override
|
||||
{
|
||||
return( new gui::BitcrushControlDialog( this ) );
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ public:
|
||||
return !reg.exactMatch(name);
|
||||
}
|
||||
|
||||
inline virtual void loadSettings(const QDomElement& element, const QString& name = QString("value")) override
|
||||
inline void loadSettings(const QDomElement& element, const QString& name = QString("value")) override
|
||||
{
|
||||
AutomatableModel::loadSettings(element, name);
|
||||
bool mustQuote = mustQuoteName(name);
|
||||
@@ -104,7 +104,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
inline virtual void saveSettings(QDomDocument& doc, QDomElement& element,
|
||||
inline void saveSettings(QDomDocument& doc, QDomElement& element,
|
||||
const QString& name = QString( "value" )) override
|
||||
{
|
||||
if (m_isEnabled)
|
||||
@@ -177,7 +177,7 @@ public:
|
||||
static const uint32_t kMaxMidiEvents = 512;
|
||||
|
||||
CarlaInstrument(InstrumentTrack* const instrumentTrack, const Descriptor* const descriptor, const bool isPatchbay);
|
||||
virtual ~CarlaInstrument();
|
||||
~CarlaInstrument() override;
|
||||
|
||||
// Carla NativeHostDescriptor functions
|
||||
uint32_t handleGetBufferSize() const;
|
||||
@@ -189,13 +189,13 @@ public:
|
||||
intptr_t handleDispatcher(const NativeHostDispatcherOpcode opcode, const int32_t index, const intptr_t value, void* const ptr, const float opt);
|
||||
|
||||
// LMMS functions
|
||||
virtual Flags flags() const;
|
||||
virtual QString nodeName() const;
|
||||
virtual void saveSettings(QDomDocument& doc, QDomElement& parent);
|
||||
virtual void loadSettings(const QDomElement& elem);
|
||||
virtual void play(sampleFrame* workingBuffer);
|
||||
virtual bool handleMidiEvent(const MidiEvent& event, const TimePos& time, f_cnt_t offset);
|
||||
virtual gui::PluginView* instantiateView(QWidget* parent);
|
||||
Flags flags() const override;
|
||||
QString nodeName() const override;
|
||||
void saveSettings(QDomDocument& doc, QDomElement& parent) override;
|
||||
void loadSettings(const QDomElement& elem) override;
|
||||
void play(sampleFrame* workingBuffer) override;
|
||||
bool handleMidiEvent(const MidiEvent& event, const TimePos& time, f_cnt_t offset) override;
|
||||
gui::PluginView* instantiateView(QWidget* parent) override;
|
||||
|
||||
signals:
|
||||
void uiClosed();
|
||||
@@ -255,7 +255,7 @@ public:
|
||||
setWindowFlags(windowFlags);
|
||||
}
|
||||
|
||||
virtual void resizeEvent(QResizeEvent * event) override
|
||||
void resizeEvent(QResizeEvent * event) override
|
||||
{
|
||||
if (mousePress) {
|
||||
resizing = true;
|
||||
@@ -263,13 +263,13 @@ public:
|
||||
SubWindow::resizeEvent(event);
|
||||
}
|
||||
|
||||
virtual void mousePressEvent(QMouseEvent * event) override
|
||||
void mousePressEvent(QMouseEvent * event) override
|
||||
{
|
||||
mousePress = true;
|
||||
SubWindow::mousePressEvent(event);
|
||||
}
|
||||
|
||||
virtual void mouseReleaseEvent(QMouseEvent * event) override
|
||||
void mouseReleaseEvent(QMouseEvent * event) override
|
||||
{
|
||||
if (resizing) {
|
||||
resizing = false;
|
||||
@@ -279,7 +279,7 @@ public:
|
||||
SubWindow::mouseReleaseEvent(event);
|
||||
}
|
||||
|
||||
virtual void closeEvent(QCloseEvent * event) override
|
||||
void closeEvent(QCloseEvent * event) override
|
||||
{
|
||||
emit uiClosed();
|
||||
event->accept();
|
||||
@@ -298,7 +298,7 @@ class CarlaInstrumentView : public InstrumentViewFixedSize
|
||||
|
||||
public:
|
||||
CarlaInstrumentView(CarlaInstrument* const instrument, QWidget* const parent);
|
||||
virtual ~CarlaInstrumentView();
|
||||
~CarlaInstrumentView() override;
|
||||
|
||||
private slots:
|
||||
void toggleUI(bool);
|
||||
@@ -307,8 +307,8 @@ private slots:
|
||||
void paramsUiClosed();
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
virtual void timerEvent(QTimerEvent*);
|
||||
void modelChanged() override;
|
||||
void timerEvent(QTimerEvent*) override;
|
||||
|
||||
NativePluginHandle fHandle;
|
||||
const NativePluginDescriptor* fDescriptor;
|
||||
@@ -333,7 +333,7 @@ class CarlaParamsView : public InstrumentView
|
||||
Q_OBJECT
|
||||
public:
|
||||
CarlaParamsView(CarlaInstrumentView* const instrumentView, QWidget* const parent);
|
||||
virtual ~CarlaParamsView();
|
||||
~CarlaParamsView() override;
|
||||
|
||||
signals:
|
||||
void uiClosed();
|
||||
|
||||
@@ -39,10 +39,10 @@ class CrossoverEQEffect : public Effect
|
||||
{
|
||||
public:
|
||||
CrossoverEQEffect( Model* parent, const Descriptor::SubPluginFeatures::Key* key );
|
||||
virtual ~CrossoverEQEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame* buf, const fpp_t frames );
|
||||
~CrossoverEQEffect() override;
|
||||
bool processAudioBuffer( sampleFrame* buf, const fpp_t frames ) override;
|
||||
|
||||
virtual EffectControls* controls()
|
||||
EffectControls* controls() override
|
||||
{
|
||||
return &m_controls;
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ class CrossoverEQControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
CrossoverEQControlDialog( CrossoverEQControls * controls );
|
||||
virtual ~CrossoverEQControlDialog()
|
||||
~CrossoverEQControlDialog() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -40,21 +40,21 @@ class CrossoverEQControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
CrossoverEQControls( CrossoverEQEffect * eff );
|
||||
virtual ~CrossoverEQControls() {}
|
||||
~CrossoverEQControls() override {}
|
||||
|
||||
virtual void saveSettings( QDomDocument & doc, QDomElement & elem );
|
||||
virtual void loadSettings( const QDomElement & elem );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & doc, QDomElement & elem ) override;
|
||||
void loadSettings( const QDomElement & elem ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return( "crossoevereqcontrols" );
|
||||
}
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return( 11 );
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog * createView()
|
||||
gui::EffectControlDialog * createView() override
|
||||
{
|
||||
return( new gui::CrossoverEQControlDialog( this ) );
|
||||
}
|
||||
|
||||
@@ -40,19 +40,19 @@ class DelayControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
DelayControls( DelayEffect* effect );
|
||||
virtual ~DelayControls()
|
||||
~DelayControls() override
|
||||
{
|
||||
}
|
||||
virtual void saveSettings( QDomDocument& doc, QDomElement& parent );
|
||||
virtual void loadSettings( const QDomElement& _this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument& doc, QDomElement& parent ) override;
|
||||
void loadSettings( const QDomElement& _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return "Delay";
|
||||
}
|
||||
virtual int controlCount(){
|
||||
int controlCount() override{
|
||||
return 5;
|
||||
}
|
||||
virtual gui::EffectControlDialog* createView()
|
||||
gui::EffectControlDialog* createView() override
|
||||
{
|
||||
return new gui::DelayControlsDialog( this );
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class DelayControlsDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
DelayControlsDialog( DelayControls* controls );
|
||||
virtual ~DelayControlsDialog()
|
||||
~DelayControlsDialog() override
|
||||
{
|
||||
}
|
||||
};
|
||||
@@ -52,13 +52,13 @@ class XyPad : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
XyPad( QWidget *parent = 0, FloatModel *xModel = 0, FloatModel *yModel = 0 );
|
||||
~XyPad() {}
|
||||
~XyPad() override {}
|
||||
|
||||
protected:
|
||||
virtual void paintEvent ( QPaintEvent * event );
|
||||
virtual void mousePressEvent(QMouseEvent * event );
|
||||
virtual void mouseReleaseEvent(QMouseEvent * event);
|
||||
virtual void mouseMoveEvent(QMouseEvent * event);
|
||||
void paintEvent ( QPaintEvent * event ) override;
|
||||
void mousePressEvent(QMouseEvent * event ) override;
|
||||
void mouseReleaseEvent(QMouseEvent * event) override;
|
||||
void mouseMoveEvent(QMouseEvent * event) override;
|
||||
|
||||
private:
|
||||
FloatModel *m_xModel;
|
||||
|
||||
@@ -38,9 +38,9 @@ class DelayEffect : public Effect
|
||||
{
|
||||
public:
|
||||
DelayEffect(Model* parent , const Descriptor::SubPluginFeatures::Key* key );
|
||||
virtual ~DelayEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame* buf, const fpp_t frames );
|
||||
virtual EffectControls* controls()
|
||||
~DelayEffect() override;
|
||||
bool processAudioBuffer( sampleFrame* buf, const fpp_t frames ) override;
|
||||
EffectControls* controls() override
|
||||
{
|
||||
return &m_delayControls;
|
||||
}
|
||||
|
||||
@@ -39,10 +39,10 @@ class DualFilterEffect : public Effect
|
||||
{
|
||||
public:
|
||||
DualFilterEffect( Model* parent, const Descriptor::SubPluginFeatures::Key* key );
|
||||
virtual ~DualFilterEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame* buf, const fpp_t frames );
|
||||
~DualFilterEffect() override;
|
||||
bool processAudioBuffer( sampleFrame* buf, const fpp_t frames ) override;
|
||||
|
||||
virtual EffectControls* controls()
|
||||
EffectControls* controls() override
|
||||
{
|
||||
return &m_dfControls;
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ class DualFilterControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
DualFilterControlDialog( DualFilterControls* controls );
|
||||
virtual ~DualFilterControlDialog()
|
||||
~DualFilterControlDialog() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -42,23 +42,23 @@ class DualFilterControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
DualFilterControls( DualFilterEffect* effect );
|
||||
virtual ~DualFilterControls()
|
||||
~DualFilterControls() override
|
||||
{
|
||||
}
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return "DualFilterControls";
|
||||
}
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return 11;
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog* createView()
|
||||
gui::EffectControlDialog* createView() override
|
||||
{
|
||||
return new gui::DualFilterControlDialog( this );
|
||||
}
|
||||
|
||||
@@ -41,11 +41,11 @@ class DynProcEffect : public Effect
|
||||
public:
|
||||
DynProcEffect( Model * _parent,
|
||||
const Descriptor::SubPluginFeatures::Key * _key );
|
||||
virtual ~DynProcEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames );
|
||||
~DynProcEffect() override;
|
||||
bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames ) override;
|
||||
|
||||
virtual EffectControls * controls()
|
||||
EffectControls * controls() override
|
||||
{
|
||||
return( &m_dpControls );
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ class DynProcControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
DynProcControlDialog( DynProcControls * _controls );
|
||||
virtual ~DynProcControlDialog()
|
||||
~DynProcControlDialog() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -49,25 +49,25 @@ public:
|
||||
NumStereoModes
|
||||
};
|
||||
DynProcControls( DynProcEffect * _eff );
|
||||
virtual ~DynProcControls()
|
||||
~DynProcControls() override
|
||||
{
|
||||
}
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return( "dynamicsprocessor_controls" );
|
||||
}
|
||||
|
||||
virtual void setDefaultShape();
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return( 6 );
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog * createView()
|
||||
gui::EffectControlDialog * createView() override
|
||||
{
|
||||
return( new gui::DynProcControlDialog( this ) );
|
||||
}
|
||||
|
||||
@@ -44,25 +44,25 @@ class EqControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit EqControls( EqEffect* effect );
|
||||
virtual ~EqControls()
|
||||
~EqControls() override
|
||||
{
|
||||
}
|
||||
|
||||
virtual void saveSettings ( QDomDocument& doc, QDomElement& parent );
|
||||
void saveSettings ( QDomDocument& doc, QDomElement& parent ) override;
|
||||
|
||||
virtual void loadSettings ( const QDomElement &_this );
|
||||
void loadSettings ( const QDomElement &_this ) override;
|
||||
|
||||
inline virtual QString nodeName() const
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return "Eq";
|
||||
}
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return 42;
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog* createView();
|
||||
gui::EffectControlDialog* createView() override;
|
||||
|
||||
float m_inPeakL;
|
||||
float m_inPeakR;
|
||||
|
||||
@@ -47,7 +47,7 @@ class EqControlsDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
EqControlsDialog( EqControls * controls );
|
||||
virtual ~EqControlsDialog()
|
||||
~EqControlsDialog() override
|
||||
{
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ private:
|
||||
EqControls * m_controls;
|
||||
EqParameterWidget * m_parameterWidget;
|
||||
|
||||
virtual void mouseDoubleClickEvent(QMouseEvent *event);
|
||||
void mouseDoubleClickEvent(QMouseEvent *event) override;
|
||||
|
||||
EqBand *setBand( int index, BoolModel *active, FloatModel *freq, FloatModel *res, FloatModel *gain, QColor color, QString name, float *peakL, float *peakR, BoolModel *hp12, BoolModel *hp24, BoolModel *hp48, BoolModel *lp12, BoolModel *lp24, BoolModel *lp48 );
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
static float gainToYPixel( float gain, int h, float pixelPerUnitHeight );
|
||||
static float yPixelToGain( float y, int h, float pixelPerUnitHeight );
|
||||
|
||||
QRectF boundingRect() const;
|
||||
QRectF boundingRect() const override;
|
||||
QPainterPath getCurvePath();
|
||||
float getPeakCurve( float x );
|
||||
float getHighShelfCurve( float x );
|
||||
@@ -83,13 +83,13 @@ signals:
|
||||
void positionChanged();
|
||||
|
||||
protected:
|
||||
void mousePressEvent( QGraphicsSceneMouseEvent *event );
|
||||
void mouseReleaseEvent( QGraphicsSceneMouseEvent *event );
|
||||
void paint( QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget );
|
||||
void wheelEvent( QGraphicsSceneWheelEvent *wevent );
|
||||
void hoverEnterEvent( QGraphicsSceneHoverEvent *hevent );
|
||||
void hoverLeaveEvent( QGraphicsSceneHoverEvent *hevent );
|
||||
QVariant itemChange( GraphicsItemChange change, const QVariant &value );
|
||||
void mousePressEvent( QGraphicsSceneMouseEvent *event ) override;
|
||||
void mouseReleaseEvent( QGraphicsSceneMouseEvent *event ) override;
|
||||
void paint( QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget ) override;
|
||||
void wheelEvent( QGraphicsSceneWheelEvent *wevent ) override;
|
||||
void hoverEnterEvent( QGraphicsSceneHoverEvent *hevent ) override;
|
||||
void hoverLeaveEvent( QGraphicsSceneHoverEvent *hevent ) override;
|
||||
QVariant itemChange( GraphicsItemChange change, const QVariant &value ) override;
|
||||
|
||||
private:
|
||||
double calculateGain( const double freq, const double a1, const double a2, const double b0, const double b1, const double b2 );
|
||||
@@ -120,11 +120,11 @@ class EqCurve : public QGraphicsObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
EqCurve( QList<EqHandle*> *handle, int x, int y );
|
||||
QRectF boundingRect() const;
|
||||
QRectF boundingRect() const override;
|
||||
void setModelChanged(bool mc);
|
||||
|
||||
protected:
|
||||
void paint( QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget );
|
||||
void paint( QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget ) override;
|
||||
|
||||
private:
|
||||
QList<EqHandle*> *m_handle;
|
||||
|
||||
@@ -36,9 +36,9 @@ class EqEffect : public Effect
|
||||
{
|
||||
public:
|
||||
EqEffect( Model * parent , const Descriptor::SubPluginFeatures::Key * key );
|
||||
virtual ~EqEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame * buf, const fpp_t frames );
|
||||
virtual EffectControls * controls()
|
||||
~EqEffect() override;
|
||||
bool processAudioBuffer( sampleFrame * buf, const fpp_t frames ) override;
|
||||
EffectControls * controls() override
|
||||
{
|
||||
return &m_eqControls;
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
|
||||
|
||||
~EqFader()
|
||||
~EqFader() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ protected:
|
||||
class EqHp12Filter : public EqFilter
|
||||
{
|
||||
public :
|
||||
virtual void calcCoefficents()
|
||||
void calcCoefficents() override
|
||||
{
|
||||
|
||||
// calc intermediate
|
||||
@@ -226,7 +226,7 @@ public :
|
||||
class EqLp12Filter : public EqFilter
|
||||
{
|
||||
public :
|
||||
virtual void calcCoefficents()
|
||||
void calcCoefficents() override
|
||||
{
|
||||
|
||||
// calc intermediate
|
||||
@@ -270,7 +270,7 @@ class EqPeakFilter : public EqFilter
|
||||
public:
|
||||
|
||||
|
||||
virtual void calcCoefficents()
|
||||
void calcCoefficents() override
|
||||
{
|
||||
// calc intermediate
|
||||
float w0 = F_2PI * m_freq / m_sampleRate;
|
||||
@@ -300,7 +300,7 @@ public:
|
||||
setCoeffs( a1, a2, b0, b1, b2 );
|
||||
}
|
||||
|
||||
virtual inline void setParameters( float sampleRate, float freq, float bw, float gain )
|
||||
inline void setParameters( float sampleRate, float freq, float bw, float gain ) override
|
||||
{
|
||||
bool hasChanged = false;
|
||||
if( sampleRate != m_sampleRate )
|
||||
@@ -334,7 +334,7 @@ public:
|
||||
class EqLowShelfFilter : public EqFilter
|
||||
{
|
||||
public :
|
||||
virtual void calcCoefficents()
|
||||
void calcCoefficents() override
|
||||
{
|
||||
|
||||
// calc intermediate
|
||||
@@ -373,7 +373,7 @@ public :
|
||||
class EqHighShelfFilter : public EqFilter
|
||||
{
|
||||
public :
|
||||
virtual void calcCoefficents()
|
||||
void calcCoefficents() override
|
||||
{
|
||||
|
||||
// calc intermediate
|
||||
|
||||
@@ -74,7 +74,7 @@ class EqParameterWidget : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit EqParameterWidget( QWidget *parent = 0, EqControls * controls = 0 );
|
||||
~EqParameterWidget();
|
||||
~EqParameterWidget() override;
|
||||
QList<EqHandle*> *m_handleList;
|
||||
|
||||
const int bandCount()
|
||||
|
||||
@@ -74,7 +74,7 @@ class EqSpectrumView : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit EqSpectrumView( EqAnalyser *b, QWidget *_parent = 0 );
|
||||
virtual ~EqSpectrumView()
|
||||
~EqSpectrumView() override
|
||||
{
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ public:
|
||||
void setColor( const QColor &value );
|
||||
|
||||
protected:
|
||||
virtual void paintEvent( QPaintEvent *event );
|
||||
void paintEvent( QPaintEvent *event ) override;
|
||||
|
||||
private slots:
|
||||
void periodicalUpdate();
|
||||
|
||||
@@ -39,20 +39,20 @@ class FlangerControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
FlangerControls( FlangerEffect* effect );
|
||||
virtual ~FlangerControls()
|
||||
~FlangerControls() override
|
||||
{
|
||||
}
|
||||
virtual void saveSettings ( QDomDocument& doc, QDomElement& parent );
|
||||
virtual void loadSettings ( const QDomElement &_this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings ( QDomDocument& doc, QDomElement& parent ) override;
|
||||
void loadSettings ( const QDomElement &_this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return "Flanger";
|
||||
}
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return 7;
|
||||
}
|
||||
virtual gui::EffectControlDialog* createView()
|
||||
gui::EffectControlDialog* createView() override
|
||||
{
|
||||
return new gui::FlangerControlsDialog( this );
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class FlangerControlsDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
FlangerControlsDialog( FlangerControls* controls );
|
||||
virtual ~FlangerControlsDialog()
|
||||
~FlangerControlsDialog() override
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
@@ -44,9 +44,9 @@ class FlangerEffect : public Effect
|
||||
{
|
||||
public:
|
||||
FlangerEffect( Model* parent , const Descriptor::SubPluginFeatures::Key* key );
|
||||
virtual ~FlangerEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame *buf, const fpp_t frames );
|
||||
virtual EffectControls* controls()
|
||||
~FlangerEffect() override;
|
||||
bool processAudioBuffer( sampleFrame *buf, const fpp_t frames ) override;
|
||||
EffectControls* controls() override
|
||||
{
|
||||
return &m_flangerControls;
|
||||
}
|
||||
|
||||
@@ -52,21 +52,21 @@ class FreeBoyInstrument : public Instrument
|
||||
public:
|
||||
|
||||
FreeBoyInstrument( InstrumentTrack * _instrument_track );
|
||||
virtual ~FreeBoyInstrument();
|
||||
~FreeBoyInstrument() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames() const;
|
||||
f_cnt_t desiredReleaseFrames() const override;
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
|
||||
/*public slots:
|
||||
@@ -129,10 +129,10 @@ class FreeBoyInstrumentView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
FreeBoyInstrumentView( Instrument * _instrument, QWidget * _parent );
|
||||
virtual ~FreeBoyInstrumentView();
|
||||
~FreeBoyInstrumentView() override;
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
Knob * m_ch1SweepTimeKnob;
|
||||
PixmapButton * m_ch1SweepDirButton;
|
||||
|
||||
@@ -243,35 +243,35 @@ class GigInstrument : public Instrument
|
||||
|
||||
public:
|
||||
GigInstrument( InstrumentTrack * _instrument_track );
|
||||
virtual ~GigInstrument();
|
||||
~GigInstrument() override;
|
||||
|
||||
virtual void play( sampleFrame * _working_buffer );
|
||||
void play( sampleFrame * _working_buffer ) override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual void loadFile( const QString & _file );
|
||||
void loadFile( const QString & _file ) override;
|
||||
|
||||
virtual AutomatableModel * childModel( const QString & _modelName );
|
||||
AutomatableModel * childModel( const QString & _modelName ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames() const
|
||||
f_cnt_t desiredReleaseFrames() const override
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual Flags flags() const
|
||||
Flags flags() const override
|
||||
{
|
||||
return IsSingleStreamed|IsNotBendable;
|
||||
}
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
QString getCurrentPatchName();
|
||||
|
||||
@@ -352,10 +352,10 @@ class GigInstrumentView : public InstrumentViewFixedSize
|
||||
public:
|
||||
GigInstrumentView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
virtual ~GigInstrumentView();
|
||||
~GigInstrumentView() override;
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
PixmapButton * m_fileDialogButton;
|
||||
PixmapButton * m_patchDialogButton;
|
||||
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
: QTreeWidgetItem( pListView, pItemAfter ) {}
|
||||
|
||||
// Sort/compare overriden method.
|
||||
bool operator< ( const QTreeWidgetItem& other ) const
|
||||
bool operator< ( const QTreeWidgetItem& other ) const override
|
||||
{
|
||||
int iColumn = QTreeWidgetItem::treeWidget()->sortColumn();
|
||||
const QString& s1 = text( iColumn );
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
PatchesDialog(QWidget * pParent = 0, Qt::WindowFlags wflags = QFlag(0));
|
||||
|
||||
// Destructor.
|
||||
virtual ~PatchesDialog();
|
||||
~PatchesDialog() override;
|
||||
|
||||
|
||||
void setup( GigInstance * pSynth, int iChan, const QString & chanName,
|
||||
@@ -64,8 +64,8 @@ public slots:
|
||||
|
||||
protected slots:
|
||||
|
||||
void accept();
|
||||
void reject();
|
||||
void accept() override;
|
||||
void reject() override;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
@@ -15,14 +15,14 @@ public:
|
||||
HydrogenImport( const QString & _file );
|
||||
bool readSong();
|
||||
|
||||
virtual ~HydrogenImport();
|
||||
~HydrogenImport() override;
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * )
|
||||
gui::PluginView* instantiateView( QWidget * ) override
|
||||
{
|
||||
return( nullptr );
|
||||
}
|
||||
private:
|
||||
virtual bool tryImport( TrackContainer* tc );
|
||||
bool tryImport( TrackContainer* tc ) override;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -54,28 +54,28 @@ class KickerInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
KickerInstrument( InstrumentTrack * _instrument_track );
|
||||
virtual ~KickerInstrument();
|
||||
~KickerInstrument() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual Flags flags() const
|
||||
Flags flags() const override
|
||||
{
|
||||
return IsNotBendable;
|
||||
}
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames() const
|
||||
f_cnt_t desiredReleaseFrames() const override
|
||||
{
|
||||
return( 512 );
|
||||
}
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
|
||||
private:
|
||||
@@ -109,10 +109,10 @@ class KickerInstrumentView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
KickerInstrumentView( Instrument * _instrument, QWidget * _parent );
|
||||
virtual ~KickerInstrumentView();
|
||||
~KickerInstrumentView() override;
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
Knob * m_startFreqKnob;
|
||||
Knob * m_endFreqKnob;
|
||||
|
||||
@@ -46,7 +46,7 @@ class LadspaBrowserView : public ToolPluginView
|
||||
Q_OBJECT
|
||||
public:
|
||||
LadspaBrowserView( ToolPlugin * _tool );
|
||||
virtual ~LadspaBrowserView();
|
||||
~LadspaBrowserView() override;
|
||||
|
||||
|
||||
public slots:
|
||||
@@ -69,22 +69,22 @@ class LadspaBrowser : public ToolPlugin
|
||||
{
|
||||
public:
|
||||
LadspaBrowser();
|
||||
virtual ~LadspaBrowser();
|
||||
~LadspaBrowser() override;
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * )
|
||||
gui::PluginView* instantiateView( QWidget * ) override
|
||||
{
|
||||
return new gui::LadspaBrowserView( this );
|
||||
}
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual void saveSettings( QDomDocument& doc, QDomElement& element )
|
||||
void saveSettings( QDomDocument& doc, QDomElement& element ) override
|
||||
{
|
||||
Q_UNUSED(doc)
|
||||
Q_UNUSED(element)
|
||||
}
|
||||
|
||||
virtual void loadSettings( const QDomElement& element )
|
||||
void loadSettings( const QDomElement& element ) override
|
||||
{
|
||||
Q_UNUSED(element)
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ class LadspaDescription : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
LadspaDescription( QWidget * _parent, LadspaPluginType _type );
|
||||
virtual ~LadspaDescription();
|
||||
~LadspaDescription() override;
|
||||
|
||||
|
||||
signals:
|
||||
|
||||
@@ -40,7 +40,7 @@ class LadspaPortDialog : public QDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
LadspaPortDialog( const ladspa_key_t & _key );
|
||||
virtual ~LadspaPortDialog();
|
||||
~LadspaPortDialog() override;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ class LadspaControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
LadspaControlDialog( LadspaControls * _ctl );
|
||||
~LadspaControlDialog();
|
||||
~LadspaControlDialog() override;
|
||||
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -43,21 +43,21 @@ class LadspaControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
LadspaControls( LadspaEffect * _eff );
|
||||
virtual ~LadspaControls();
|
||||
~LadspaControls() override;
|
||||
|
||||
inline int controlCount()
|
||||
inline int controlCount() override
|
||||
{
|
||||
return m_controlCount;
|
||||
}
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return "ladspacontrols";
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog* createView()
|
||||
gui::EffectControlDialog* createView() override
|
||||
{
|
||||
return new gui::LadspaControlDialog( this );
|
||||
}
|
||||
|
||||
@@ -46,14 +46,14 @@ class LadspaEffect : public Effect
|
||||
public:
|
||||
LadspaEffect( Model * _parent,
|
||||
const Descriptor::SubPluginFeatures::Key * _key );
|
||||
virtual ~LadspaEffect();
|
||||
~LadspaEffect() override;
|
||||
|
||||
virtual bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames );
|
||||
bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames ) override;
|
||||
|
||||
void setControl( int _control, LADSPA_Data _data );
|
||||
|
||||
virtual EffectControls * controls()
|
||||
EffectControls * controls() override
|
||||
{
|
||||
return m_controls;
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
void fillDescriptionWidget( QWidget * _parent,
|
||||
const Key * _key ) const override;
|
||||
|
||||
virtual void listSubPluginKeys( const Plugin::Descriptor * _desc,
|
||||
void listSubPluginKeys( const Plugin::Descriptor * _desc,
|
||||
KeyList & _kl ) const override;
|
||||
|
||||
|
||||
|
||||
@@ -92,11 +92,11 @@ class Lb302FilterIIR2 : public Lb302Filter
|
||||
{
|
||||
public:
|
||||
Lb302FilterIIR2(Lb302FilterKnobState* p_fs);
|
||||
virtual ~Lb302FilterIIR2();
|
||||
~Lb302FilterIIR2() override;
|
||||
|
||||
virtual void recalc();
|
||||
virtual void envRecalc();
|
||||
virtual float process(const float& samp);
|
||||
void recalc() override;
|
||||
void envRecalc() override;
|
||||
float process(const float& samp) override;
|
||||
|
||||
protected:
|
||||
float vcf_d1, // d1 and d2 are added back into the sample with
|
||||
@@ -118,9 +118,9 @@ class Lb302Filter3Pole : public Lb302Filter
|
||||
Lb302Filter3Pole(Lb302FilterKnobState* p_fs);
|
||||
|
||||
//virtual void recalc();
|
||||
virtual void envRecalc();
|
||||
virtual void recalc();
|
||||
virtual float process(const float& samp);
|
||||
void envRecalc() override;
|
||||
void recalc() override;
|
||||
float process(const float& samp) override;
|
||||
|
||||
protected:
|
||||
float kfcn,
|
||||
@@ -150,30 +150,30 @@ class Lb302Synth : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
Lb302Synth( InstrumentTrack * _instrument_track );
|
||||
virtual ~Lb302Synth();
|
||||
~Lb302Synth() override;
|
||||
|
||||
virtual void play( sampleFrame * _working_buffer );
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void play( sampleFrame * _working_buffer ) override;
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual Flags flags() const
|
||||
Flags flags() const override
|
||||
{
|
||||
return IsSingleStreamed;
|
||||
}
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames() const
|
||||
f_cnt_t desiredReleaseFrames() const override
|
||||
{
|
||||
return 0; //4048;
|
||||
}
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
private:
|
||||
void processNote( NotePlayHandle * n );
|
||||
@@ -277,10 +277,10 @@ class Lb302SynthView : public InstrumentViewFixedSize
|
||||
public:
|
||||
Lb302SynthView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
virtual ~Lb302SynthView();
|
||||
~Lb302SynthView() override;
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
Knob * m_vcfCutKnob;
|
||||
Knob * m_vcfResKnob;
|
||||
|
||||
@@ -63,16 +63,16 @@ class MidiExport: public ExportFilter
|
||||
// Q_OBJECT
|
||||
public:
|
||||
MidiExport();
|
||||
~MidiExport();
|
||||
~MidiExport() override;
|
||||
|
||||
virtual gui::PluginView* instantiateView(QWidget *)
|
||||
gui::PluginView* instantiateView(QWidget *) override
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
virtual bool tryExport(const TrackContainer::TrackList &tracks,
|
||||
bool tryExport(const TrackContainer::TrackList &tracks,
|
||||
const TrackContainer::TrackList &patternTracks,
|
||||
int tempo, int masterPitch, const QString &filename);
|
||||
int tempo, int masterPitch, const QString &filename) override;
|
||||
|
||||
private:
|
||||
void writeMidiClip(MidiNoteVector &midiClip, const QDomNode& n,
|
||||
|
||||
@@ -41,16 +41,16 @@ class MidiImport : public ImportFilter
|
||||
Q_OBJECT
|
||||
public:
|
||||
MidiImport( const QString & _file );
|
||||
virtual ~MidiImport();
|
||||
~MidiImport() override;
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * )
|
||||
gui::PluginView* instantiateView( QWidget * ) override
|
||||
{
|
||||
return( nullptr );
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
virtual bool tryImport( TrackContainer* tc );
|
||||
bool tryImport( TrackContainer* tc ) override;
|
||||
|
||||
bool readSMF( TrackContainer* tc );
|
||||
bool readRIFF( TrackContainer* tc );
|
||||
|
||||
@@ -293,26 +293,26 @@ public:
|
||||
|
||||
typedef class Alg_note : public Alg_event {
|
||||
public:
|
||||
virtual ~Alg_note();
|
||||
~Alg_note() override;
|
||||
Alg_note(Alg_note *); // copy constructor
|
||||
float pitch; // pitch in semitones (69 = A440)
|
||||
float loud; // dynamic corresponding to MIDI velocity
|
||||
double dur; // duration in seconds (normally to release point)
|
||||
Alg_parameters_ptr parameters; // attribute/value pair list
|
||||
Alg_note() { type = 'n'; parameters = nullptr; }
|
||||
void show();
|
||||
void show() override;
|
||||
} *Alg_note_ptr;
|
||||
|
||||
|
||||
typedef class Alg_update : public Alg_event {
|
||||
public:
|
||||
virtual ~Alg_update() {};
|
||||
~Alg_update() override {};
|
||||
Alg_update(Alg_update *); // copy constructor
|
||||
Alg_parameter parameter; // an update contains one attr/value pair
|
||||
|
||||
|
||||
Alg_update() { type = 'u'; }
|
||||
void show();
|
||||
void show() override;
|
||||
} *Alg_update_ptr;
|
||||
|
||||
|
||||
@@ -402,7 +402,7 @@ public:
|
||||
|
||||
// The destructor does not free events because they are owned
|
||||
// by a track or seq structure.
|
||||
virtual ~Alg_event_list();
|
||||
~Alg_event_list() override;
|
||||
|
||||
// Returns the duration of the sequence in beats or seconds
|
||||
double get_beat_dur() { return beat_dur; }
|
||||
@@ -548,7 +548,7 @@ public:
|
||||
// setting buffer, but it is not the Serial_read_buffer's responsibility
|
||||
// to delete the buffer (owner might want to reuse it), so the destructor
|
||||
// does nothing.
|
||||
virtual ~Serial_read_buffer() { }
|
||||
~Serial_read_buffer() override { }
|
||||
#if defined(_WIN32)
|
||||
//#pragma warning(disable: 546) // cast to int is OK, we only want low 7 bits
|
||||
//#pragma warning(disable: 4311) // type cast pointer to long warning
|
||||
@@ -588,7 +588,7 @@ typedef class Serial_write_buffer: public Serial_buffer {
|
||||
// This destructor will only run when the program exits, which will only
|
||||
// add overhead to the exit process, but it will eliminate an incorrect
|
||||
// report of memory leakage from automation that doesn't know better. -RBD
|
||||
virtual ~Serial_write_buffer() {
|
||||
~Serial_write_buffer() override {
|
||||
if (buffer) delete [] buffer;
|
||||
}
|
||||
void init_for_write() { ptr = buffer; }
|
||||
@@ -654,7 +654,7 @@ protected:
|
||||
public:
|
||||
void serialize_track();
|
||||
void unserialize_track();
|
||||
virtual Alg_event_ptr const &operator[](int i) {
|
||||
Alg_event_ptr const &operator[](int i) override {
|
||||
assert(i >= 0 && i < len);
|
||||
return events[i];
|
||||
}
|
||||
@@ -669,7 +669,7 @@ public:
|
||||
// copy constructor: event_list is copied, map is installed and referenced
|
||||
Alg_track(Alg_event_list_ref event_list, Alg_time_map_ptr map,
|
||||
bool units_are_seconds);
|
||||
virtual ~Alg_track() { // note: do not call set_time_map(NULL)!
|
||||
~Alg_track() override { // note: do not call set_time_map(NULL)!
|
||||
if (time_map) time_map->dereference();
|
||||
time_map = nullptr; }
|
||||
|
||||
@@ -1030,11 +1030,11 @@ public:
|
||||
Alg_seq(std::istream &file, bool smf, double *offset_ptr = nullptr);
|
||||
// create from filename
|
||||
Alg_seq(const char *filename, bool smf, double *offset_ptr = nullptr);
|
||||
virtual ~Alg_seq();
|
||||
~Alg_seq() override;
|
||||
int get_read_error() { return error; }
|
||||
void serialize(void **buffer, long *bytes);
|
||||
void serialize(void **buffer, long *bytes) override;
|
||||
void copy_time_sigs_to(Alg_seq *dest); // a utility function
|
||||
void set_time_map(Alg_time_map *map);
|
||||
void set_time_map(Alg_time_map *map) override;
|
||||
|
||||
// encode sequence structure into contiguous, moveable memory block
|
||||
// address of newly allocated memory is assigned to *buffer, which must
|
||||
@@ -1060,22 +1060,22 @@ public:
|
||||
// caller must not delete the result.
|
||||
Alg_track_ptr track(int);
|
||||
|
||||
virtual Alg_event_ptr const &operator[](int i);
|
||||
Alg_event_ptr const &operator[](int i) override;
|
||||
|
||||
virtual void convert_to_seconds();
|
||||
virtual void convert_to_beats();
|
||||
void convert_to_seconds() override;
|
||||
void convert_to_beats() override;
|
||||
|
||||
Alg_track_ptr cut_from_track(int track_num, double start, double dur,
|
||||
bool all);
|
||||
Alg_seq *cut(double t, double len, bool all);
|
||||
Alg_seq *cut(double t, double len, bool all) override;
|
||||
void insert_silence_in_track(int track_num, double t, double len);
|
||||
void insert_silence(double t, double len);
|
||||
void insert_silence(double t, double len) override;
|
||||
Alg_track_ptr copy_track(int track_num, double t, double len, bool all);
|
||||
Alg_seq *copy(double start, double len, bool all);
|
||||
Alg_seq *copy(double start, double len, bool all) override;
|
||||
void paste(double start, Alg_seq *seq);
|
||||
virtual void clear(double t, double len, bool all);
|
||||
virtual void merge(double t, Alg_event_list_ptr seq);
|
||||
virtual void silence(double t, double len, bool all);
|
||||
void clear(double t, double len, bool all) override;
|
||||
void merge(double t, Alg_event_list_ptr seq) override;
|
||||
void silence(double t, double len, bool all) override;
|
||||
void clear_track(int track_num, double start, double len, bool all);
|
||||
void silence_track(int track_num, double start, double len, bool all);
|
||||
Alg_event_list_ptr find_in_track(int track_num, double t, double len,
|
||||
@@ -1100,7 +1100,7 @@ public:
|
||||
// add_event takes a pointer to an event on the heap. The event is not
|
||||
// copied, and this Alg_seq becomes the owner and freer of the event.
|
||||
void add_event(Alg_event_ptr event, int track_num);
|
||||
void add(Alg_event_ptr event) { assert(false); } // call add_event instead
|
||||
void add(Alg_event_ptr event) override { assert(false); } // call add_event instead
|
||||
// get the tempo starting at beat
|
||||
double get_tempo(double beat);
|
||||
bool set_tempo(double bpm, double start_beat, double end_beat);
|
||||
@@ -1112,7 +1112,7 @@ public:
|
||||
double *num, double *den);
|
||||
// void set_events(Alg_event_ptr *events, long len, long max);
|
||||
void merge_tracks(); // move all track data into one track
|
||||
void set_in_use(bool flag); // set in_use flag on all tracks
|
||||
void set_in_use(bool flag) override; // set in_use flag on all tracks
|
||||
} *Alg_seq_ptr, &Alg_seq_ref;
|
||||
|
||||
|
||||
|
||||
@@ -65,36 +65,36 @@ protected:
|
||||
|
||||
double get_time();
|
||||
void update(int chan, int key, Alg_parameter_ptr param);
|
||||
void *Mf_malloc(size_t size) { return malloc(size); }
|
||||
void Mf_free(void *obj, size_t size) { free(obj); }
|
||||
void *Mf_malloc(size_t size) override { return malloc(size); }
|
||||
void Mf_free(void *obj, size_t size) override { free(obj); }
|
||||
/* Methods to be called while processing the MIDI file. */
|
||||
void Mf_starttrack();
|
||||
void Mf_endtrack();
|
||||
int Mf_getc();
|
||||
void Mf_chanprefix(int chan);
|
||||
void Mf_portprefix(int port);
|
||||
void Mf_eot();
|
||||
void Mf_error(char *);
|
||||
void Mf_starttrack() override;
|
||||
void Mf_endtrack() override;
|
||||
int Mf_getc() override;
|
||||
void Mf_chanprefix(int chan) override;
|
||||
void Mf_portprefix(int port) override;
|
||||
void Mf_eot() override;
|
||||
void Mf_error(char *) override;
|
||||
void Mf_error(const char *);
|
||||
void Mf_header(int,int,int);
|
||||
void Mf_on(int,int,int);
|
||||
void Mf_off(int,int,int);
|
||||
void Mf_pressure(int,int,int);
|
||||
void Mf_controller(int,int,int);
|
||||
void Mf_pitchbend(int,int,int);
|
||||
void Mf_program(int,int);
|
||||
void Mf_chanpressure(int,int);
|
||||
void Mf_header(int,int,int) override;
|
||||
void Mf_on(int,int,int) override;
|
||||
void Mf_off(int,int,int) override;
|
||||
void Mf_pressure(int,int,int) override;
|
||||
void Mf_controller(int,int,int) override;
|
||||
void Mf_pitchbend(int,int,int) override;
|
||||
void Mf_program(int,int) override;
|
||||
void Mf_chanpressure(int,int) override;
|
||||
void binary_msg(int len, unsigned char *msg, const char *attr_string);
|
||||
void Mf_sysex(int,unsigned char*);
|
||||
void Mf_arbitrary(int,unsigned char*);
|
||||
void Mf_metamisc(int,int,unsigned char*);
|
||||
void Mf_seqnum(int);
|
||||
void Mf_smpte(int,int,int,int,int);
|
||||
void Mf_timesig(int,int,int,int);
|
||||
void Mf_tempo(int);
|
||||
void Mf_keysig(int,int);
|
||||
void Mf_sqspecific(int,unsigned char*);
|
||||
void Mf_text(int,int,unsigned char*);
|
||||
void Mf_sysex(int,unsigned char*) override;
|
||||
void Mf_arbitrary(int,unsigned char*) override;
|
||||
void Mf_metamisc(int,int,unsigned char*) override;
|
||||
void Mf_seqnum(int) override;
|
||||
void Mf_smpte(int,int,int,int,int) override;
|
||||
void Mf_timesig(int,int,int,int) override;
|
||||
void Mf_tempo(int) override;
|
||||
void Mf_keysig(int,int) override;
|
||||
void Mf_sqspecific(int,unsigned char*) override;
|
||||
void Mf_text(int,int,unsigned char*) override;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -355,21 +355,21 @@ class MonstroInstrument : public Instrument
|
||||
|
||||
public:
|
||||
MonstroInstrument( InstrumentTrack * _instrument_track );
|
||||
virtual ~MonstroInstrument();
|
||||
~MonstroInstrument() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc,
|
||||
QDomElement & _this );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc,
|
||||
QDomElement & _this ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames() const;
|
||||
f_cnt_t desiredReleaseFrames() const override;
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
public slots:
|
||||
void updateVolume1();
|
||||
@@ -593,13 +593,13 @@ class MonstroView : public InstrumentViewFixedSize
|
||||
public:
|
||||
MonstroView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
virtual ~MonstroView();
|
||||
~MonstroView() override;
|
||||
|
||||
protected slots:
|
||||
void updateLayout();
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
void setWidgetBackground( QWidget * _widget, const QString & _pic );
|
||||
QWidget * setupOperatorsView( QWidget * _parent );
|
||||
|
||||
@@ -39,10 +39,10 @@ class MultitapEchoEffect : public Effect
|
||||
{
|
||||
public:
|
||||
MultitapEchoEffect( Model* parent, const Descriptor::SubPluginFeatures::Key* key );
|
||||
virtual ~MultitapEchoEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame* buf, const fpp_t frames );
|
||||
~MultitapEchoEffect() override;
|
||||
bool processAudioBuffer( sampleFrame* buf, const fpp_t frames ) override;
|
||||
|
||||
virtual EffectControls* controls()
|
||||
EffectControls* controls() override
|
||||
{
|
||||
return &m_controls;
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ class MultitapEchoControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
MultitapEchoControlDialog( MultitapEchoControls * controls );
|
||||
virtual ~MultitapEchoControlDialog()
|
||||
~MultitapEchoControlDialog() override
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
@@ -41,11 +41,11 @@ class MultitapEchoControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
MultitapEchoControls( MultitapEchoEffect * eff );
|
||||
virtual ~MultitapEchoControls();
|
||||
~MultitapEchoControls() override;
|
||||
|
||||
virtual void saveSettings( QDomDocument & doc, QDomElement & parent );
|
||||
virtual void loadSettings( const QDomElement & elem );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & doc, QDomElement & parent ) override;
|
||||
void loadSettings( const QDomElement & elem ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return( "multitapechocontrols" );
|
||||
}
|
||||
@@ -53,12 +53,12 @@ public:
|
||||
void setDefaultAmpShape();
|
||||
void setDefaultLpShape();
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return( 5 );
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog* createView()
|
||||
gui::EffectControlDialog* createView() override
|
||||
{
|
||||
return( new gui::MultitapEchoControlDialog( this ) );
|
||||
}
|
||||
|
||||
@@ -211,25 +211,25 @@ class NesInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
NesInstrument( InstrumentTrack * instrumentTrack );
|
||||
virtual ~NesInstrument();
|
||||
~NesInstrument() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * n,
|
||||
sampleFrame * workingBuffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * n );
|
||||
void playNote( NotePlayHandle * n,
|
||||
sampleFrame * workingBuffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & doc,
|
||||
QDomElement & element );
|
||||
virtual void loadSettings( const QDomElement & element );
|
||||
void saveSettings( QDomDocument & doc,
|
||||
QDomElement & element ) override;
|
||||
void loadSettings( const QDomElement & element ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames() const
|
||||
f_cnt_t desiredReleaseFrames() const override
|
||||
{
|
||||
return( 8 );
|
||||
}
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * parent );
|
||||
gui::PluginView* instantiateView( QWidget * parent ) override;
|
||||
|
||||
public slots:
|
||||
void updateFreq1();
|
||||
@@ -313,10 +313,10 @@ class NesInstrumentView : public InstrumentViewFixedSize
|
||||
public:
|
||||
NesInstrumentView( Instrument * instrument,
|
||||
QWidget * parent );
|
||||
virtual ~NesInstrumentView();
|
||||
~NesInstrumentView() override;
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
// channel 1
|
||||
PixmapButton * m_ch1EnabledBtn;
|
||||
|
||||
@@ -59,24 +59,24 @@ class OpulenzInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
OpulenzInstrument( InstrumentTrack * _instrument_track );
|
||||
virtual ~OpulenzInstrument();
|
||||
~OpulenzInstrument() override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
QString nodeName() const override;
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
virtual Flags flags() const
|
||||
Flags flags() const override
|
||||
{
|
||||
return IsSingleStreamed | IsMidiBased;
|
||||
}
|
||||
|
||||
virtual bool handleMidiEvent( const MidiEvent& event, const TimePos& time, f_cnt_t offset = 0 );
|
||||
virtual void play( sampleFrame * _working_buffer );
|
||||
bool handleMidiEvent( const MidiEvent& event, const TimePos& time, f_cnt_t offset = 0 ) override;
|
||||
void play( sampleFrame * _working_buffer ) override;
|
||||
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _this );
|
||||
void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _this ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
void loadPatch(const unsigned char inst[14]);
|
||||
void tuneEqual(int center, float Hz);
|
||||
virtual void loadFile( const QString& file );
|
||||
void loadFile( const QString& file ) override;
|
||||
|
||||
IntModel m_patchModel;
|
||||
|
||||
@@ -163,9 +163,9 @@ class OpulenzInstrumentView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
OpulenzInstrumentView( Instrument * _instrument, QWidget * _parent );
|
||||
virtual ~OpulenzInstrumentView();
|
||||
~OpulenzInstrumentView() override;
|
||||
LcdSpinBox *m_patch;
|
||||
void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
Knob *op1_a_kn;
|
||||
Knob *op1_d_kn;
|
||||
|
||||
@@ -105,7 +105,7 @@ private:
|
||||
float m_phaseOffsetRight;
|
||||
|
||||
OscillatorObject( Model * _parent, int _index );
|
||||
virtual ~OscillatorObject();
|
||||
~OscillatorObject() override;
|
||||
|
||||
friend class OrganicInstrument;
|
||||
friend class gui::OrganicInstrumentView;
|
||||
@@ -124,17 +124,17 @@ class OrganicInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
OrganicInstrument( InstrumentTrack * _instrument_track );
|
||||
virtual ~OrganicInstrument();
|
||||
~OrganicInstrument() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
int intRand( int min, int max );
|
||||
|
||||
@@ -172,7 +172,7 @@ private:
|
||||
FloatModel m_fx1Model;
|
||||
FloatModel m_volModel;
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
|
||||
private slots:
|
||||
@@ -190,10 +190,10 @@ class OrganicInstrumentView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
OrganicInstrumentView( Instrument * _instrument, QWidget * _parent );
|
||||
virtual ~OrganicInstrumentView();
|
||||
~OrganicInstrumentView() override;
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
struct OscillatorKnobs
|
||||
{
|
||||
|
||||
@@ -57,26 +57,26 @@ class PatmanInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
PatmanInstrument( InstrumentTrack * _track );
|
||||
virtual ~PatmanInstrument();
|
||||
~PatmanInstrument() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual void loadFile( const QString & _file );
|
||||
void loadFile( const QString & _file ) override;
|
||||
|
||||
virtual QString nodeName( void ) const;
|
||||
QString nodeName( void ) const override;
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames( void ) const
|
||||
f_cnt_t desiredReleaseFrames( void ) const override
|
||||
{
|
||||
return( 128 );
|
||||
}
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
|
||||
public slots:
|
||||
@@ -131,7 +131,7 @@ class PatmanView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
PatmanView( Instrument * _instrument, QWidget * _parent );
|
||||
virtual ~PatmanView();
|
||||
~PatmanView() override;
|
||||
|
||||
|
||||
public slots:
|
||||
@@ -140,13 +140,13 @@ public slots:
|
||||
|
||||
|
||||
protected:
|
||||
virtual void dragEnterEvent( QDragEnterEvent * _dee );
|
||||
virtual void dropEvent( QDropEvent * _de );
|
||||
virtual void paintEvent( QPaintEvent * );
|
||||
void dragEnterEvent( QDragEnterEvent * _dee ) override;
|
||||
void dropEvent( QDropEvent * _de ) override;
|
||||
void paintEvent( QPaintEvent * ) override;
|
||||
|
||||
|
||||
private:
|
||||
virtual void modelChanged( void );
|
||||
void modelChanged( void ) override;
|
||||
|
||||
PatmanInstrument * m_pi;
|
||||
QString m_displayFilename;
|
||||
|
||||
@@ -40,8 +40,8 @@ class PeakControllerEffect : public Effect
|
||||
public:
|
||||
PeakControllerEffect( Model * parent,
|
||||
const Descriptor::SubPluginFeatures::Key * _key );
|
||||
virtual ~PeakControllerEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame * _buf,
|
||||
~PeakControllerEffect() override;
|
||||
bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames ) override;
|
||||
|
||||
EffectControls * controls() override
|
||||
|
||||
@@ -45,7 +45,7 @@ class PeakControllerEffectControlDialog : public EffectControlDialog
|
||||
public:
|
||||
PeakControllerEffectControlDialog(
|
||||
PeakControllerEffectControls * _controls );
|
||||
virtual ~PeakControllerEffectControlDialog()
|
||||
~PeakControllerEffectControlDialog() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ class PeakControllerEffectControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
PeakControllerEffectControls( PeakControllerEffect * _eff );
|
||||
virtual ~PeakControllerEffectControls()
|
||||
~PeakControllerEffectControls() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -44,10 +44,10 @@ class ReverbSCEffect : public Effect
|
||||
{
|
||||
public:
|
||||
ReverbSCEffect( Model* parent, const Descriptor::SubPluginFeatures::Key* key );
|
||||
virtual ~ReverbSCEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame* buf, const fpp_t frames );
|
||||
~ReverbSCEffect() override;
|
||||
bool processAudioBuffer( sampleFrame* buf, const fpp_t frames ) override;
|
||||
|
||||
virtual EffectControls* controls()
|
||||
EffectControls* controls() override
|
||||
{
|
||||
return &m_reverbSCControls;
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class ReverbSCControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
ReverbSCControlDialog( ReverbSCControls* controls );
|
||||
virtual ~ReverbSCControlDialog()
|
||||
~ReverbSCControlDialog() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -40,23 +40,23 @@ class ReverbSCControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
ReverbSCControls( ReverbSCEffect* effect );
|
||||
virtual ~ReverbSCControls()
|
||||
~ReverbSCControls() override
|
||||
{
|
||||
}
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return "ReverbSCControls";
|
||||
}
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog* createView()
|
||||
gui::EffectControlDialog* createView() override
|
||||
{
|
||||
return new gui::ReverbSCControlDialog( this );
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
: QTreeWidgetItem( pListView, pItemAfter ) {}
|
||||
|
||||
// Sort/compare overriden method.
|
||||
bool operator< ( const QTreeWidgetItem& other ) const
|
||||
bool operator< ( const QTreeWidgetItem& other ) const override
|
||||
{
|
||||
int iColumn = QTreeWidgetItem::treeWidget()->sortColumn();
|
||||
const QString& s1 = text( iColumn );
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
PatchesDialog(QWidget *pParent = 0, Qt::WindowFlags wflags = QFlag(0));
|
||||
|
||||
// Destructor.
|
||||
virtual ~PatchesDialog();
|
||||
~PatchesDialog() override;
|
||||
|
||||
|
||||
void setup(fluid_synth_t *pSynth, int iChan, const QString & _chanName,
|
||||
@@ -64,8 +64,8 @@ public slots:
|
||||
|
||||
protected slots:
|
||||
|
||||
void accept();
|
||||
void reject();
|
||||
void accept() override;
|
||||
void reject() override;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
@@ -63,35 +63,35 @@ class Sf2Instrument : public Instrument
|
||||
|
||||
public:
|
||||
Sf2Instrument( InstrumentTrack * _instrument_track );
|
||||
virtual ~Sf2Instrument();
|
||||
~Sf2Instrument() override;
|
||||
|
||||
virtual void play( sampleFrame * _working_buffer );
|
||||
void play( sampleFrame * _working_buffer ) override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual void loadFile( const QString & _file );
|
||||
void loadFile( const QString & _file ) override;
|
||||
|
||||
virtual AutomatableModel * childModel( const QString & _modelName );
|
||||
AutomatableModel * childModel( const QString & _modelName ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames() const
|
||||
f_cnt_t desiredReleaseFrames() const override
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual Flags flags() const
|
||||
Flags flags() const override
|
||||
{
|
||||
return IsSingleStreamed;
|
||||
}
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
QString getCurrentPatchName();
|
||||
|
||||
@@ -203,10 +203,10 @@ class Sf2InstrumentView : public InstrumentViewFixedSize
|
||||
public:
|
||||
Sf2InstrumentView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
virtual ~Sf2InstrumentView();
|
||||
~Sf2InstrumentView() override;
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
PixmapButton * m_fileDialogButton;
|
||||
PixmapButton * m_patchDialogButton;
|
||||
|
||||
@@ -140,7 +140,7 @@ public:
|
||||
{
|
||||
}
|
||||
/* purpose: prevent the initial value of the model from being changed */
|
||||
virtual void loadSettings( const QDomElement& element, const QString& name = QString( "value" ) )
|
||||
void loadSettings( const QDomElement& element, const QString& name = QString( "value" ) ) override
|
||||
{
|
||||
float oldInitValue = initValue();
|
||||
FloatModel::loadSettings(element, name);
|
||||
@@ -161,7 +161,7 @@ public:
|
||||
{
|
||||
}
|
||||
/* purpose: prevent the initial value of the model from being changed */
|
||||
virtual void loadSettings( const QDomElement& element, const QString& name = QString( "value" ) )
|
||||
void loadSettings( const QDomElement& element, const QString& name = QString( "value" ) ) override
|
||||
{
|
||||
float oldInitValue = initValue();
|
||||
FloatModel::loadSettings(element, name);
|
||||
@@ -176,18 +176,18 @@ class SfxrInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
SfxrInstrument(InstrumentTrack * _instrument_track );
|
||||
virtual ~SfxrInstrument();
|
||||
~SfxrInstrument() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n, sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n, sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc,
|
||||
QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc,
|
||||
QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
void resetModels();
|
||||
|
||||
@@ -240,7 +240,7 @@ public:
|
||||
SfxrInstrumentView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
|
||||
virtual ~SfxrInstrumentView() {};
|
||||
~SfxrInstrumentView() override {};
|
||||
|
||||
protected slots:
|
||||
void genPickup();
|
||||
@@ -256,7 +256,7 @@ protected slots:
|
||||
void previewSound();
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
Knob * m_attKnob; //Attack Time
|
||||
Knob * m_holdKnob; //Sustain Time
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
NumWaveShapes
|
||||
};
|
||||
VoiceObject( Model * _parent, int _idx );
|
||||
virtual ~VoiceObject();
|
||||
~VoiceObject() override;
|
||||
|
||||
|
||||
private:
|
||||
@@ -97,21 +97,21 @@ public:
|
||||
|
||||
|
||||
SidInstrument( InstrumentTrack * _instrument_track );
|
||||
virtual ~SidInstrument();
|
||||
~SidInstrument() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames() const;
|
||||
f_cnt_t desiredReleaseFrames() const override;
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
|
||||
/*public slots:
|
||||
@@ -147,10 +147,10 @@ class SidInstrumentView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
SidInstrumentView( Instrument * _instrument, QWidget * _parent );
|
||||
virtual ~SidInstrumentView();
|
||||
~SidInstrumentView() override;
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
automatableButtonGroup * m_passBtnGrp;
|
||||
automatableButtonGroup * m_sidTypeBtnGrp;
|
||||
|
||||
@@ -43,7 +43,7 @@ class Analyzer : public Effect
|
||||
{
|
||||
public:
|
||||
Analyzer(Model *parent, const Descriptor::SubPluginFeatures::Key *key);
|
||||
virtual ~Analyzer();
|
||||
~Analyzer() override;
|
||||
|
||||
bool processAudioBuffer(sampleFrame *buffer, const fpp_t frame_count) override;
|
||||
EffectControls *controls() override {return &m_controls;}
|
||||
|
||||
@@ -49,7 +49,7 @@ class SaControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SaControls(Analyzer* effect);
|
||||
virtual ~SaControls() {}
|
||||
~SaControls() override {}
|
||||
|
||||
gui::EffectControlDialog* createView() override;
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ class SaControlsDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SaControlsDialog(SaControls *controls, SaProcessor *processor);
|
||||
virtual ~SaControlsDialog() {}
|
||||
~SaControlsDialog() override {}
|
||||
|
||||
bool isResizable() const override {return true;}
|
||||
QSize sizeHint() const override;
|
||||
|
||||
@@ -54,7 +54,7 @@ class SaSpectrumView : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SaSpectrumView(SaControls *controls, SaProcessor *processor, QWidget *_parent = 0);
|
||||
virtual ~SaSpectrumView() {}
|
||||
~SaSpectrumView() override {}
|
||||
|
||||
QSize sizeHint() const override {return QSize(400, 200);}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ class SaWaterfallView : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SaWaterfallView(SaControls *controls, SaProcessor *processor, QWidget *_parent = 0);
|
||||
virtual ~SaWaterfallView() {}
|
||||
~SaWaterfallView() override {}
|
||||
|
||||
QSize sizeHint() const override {return QSize(400, 350);}
|
||||
|
||||
|
||||
@@ -39,11 +39,11 @@ class StereoEnhancerEffect : public Effect
|
||||
public:
|
||||
StereoEnhancerEffect( Model * parent,
|
||||
const Descriptor::SubPluginFeatures::Key * _key );
|
||||
virtual ~StereoEnhancerEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames );
|
||||
~StereoEnhancerEffect() override;
|
||||
bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames ) override;
|
||||
|
||||
virtual EffectControls * controls()
|
||||
EffectControls * controls() override
|
||||
{
|
||||
return( &m_bbControls );
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class StereoEnhancerControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
StereoEnhancerControlDialog( StereoEnhancerControls * _controls );
|
||||
virtual ~StereoEnhancerControlDialog()
|
||||
~StereoEnhancerControlDialog() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -39,23 +39,23 @@ class StereoEnhancerControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
StereoEnhancerControls( StereoEnhancerEffect( * _eff ) );
|
||||
virtual ~StereoEnhancerControls()
|
||||
~StereoEnhancerControls() override
|
||||
{
|
||||
}
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return( "stereoenhancercontrols" );
|
||||
}
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return( 1 );
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog* createView()
|
||||
gui::EffectControlDialog* createView() override
|
||||
{
|
||||
return new gui::StereoEnhancerControlDialog( this );
|
||||
}
|
||||
|
||||
@@ -38,11 +38,11 @@ class StereoMatrixEffect : public Effect
|
||||
public:
|
||||
StereoMatrixEffect( Model * parent,
|
||||
const Descriptor::SubPluginFeatures::Key * _key );
|
||||
virtual ~StereoMatrixEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames );
|
||||
~StereoMatrixEffect() override;
|
||||
bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames ) override;
|
||||
|
||||
virtual EffectControls* controls()
|
||||
EffectControls* controls() override
|
||||
{
|
||||
return( &m_smControls );
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ class StereoMatrixControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
StereoMatrixControlDialog( StereoMatrixControls * _controls );
|
||||
virtual ~StereoMatrixControlDialog()
|
||||
~StereoMatrixControlDialog() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -39,23 +39,23 @@ class StereoMatrixControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
StereoMatrixControls( StereoMatrixEffect( * _eff ) );
|
||||
virtual ~StereoMatrixControls()
|
||||
~StereoMatrixControls() override
|
||||
{
|
||||
}
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return( "stereomatrixcontrols" );
|
||||
}
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return( 1 );
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog* createView()
|
||||
gui::EffectControlDialog* createView() override
|
||||
{
|
||||
return new gui::StereoMatrixControlDialog( this );
|
||||
}
|
||||
|
||||
@@ -160,17 +160,17 @@ class MalletsInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
MalletsInstrument( InstrumentTrack * _instrument_track );
|
||||
virtual ~MalletsInstrument();
|
||||
~MalletsInstrument() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
@@ -219,13 +219,13 @@ class MalletsInstrumentView: public InstrumentViewFixedSize
|
||||
public:
|
||||
MalletsInstrumentView( MalletsInstrument * _instrument,
|
||||
QWidget * _parent );
|
||||
virtual ~MalletsInstrumentView();
|
||||
~MalletsInstrumentView() override;
|
||||
|
||||
public slots:
|
||||
void changePreset();
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
void setWidgetBackground( QWidget * _widget, const QString & _pic );
|
||||
QWidget * setupModalBarControls( QWidget * _parent );
|
||||
|
||||
@@ -57,7 +57,7 @@ class OscillatorObject : public Model
|
||||
Q_OBJECT
|
||||
public:
|
||||
OscillatorObject( Model * _parent, int _idx );
|
||||
virtual ~OscillatorObject();
|
||||
~OscillatorObject() override;
|
||||
|
||||
|
||||
private:
|
||||
@@ -108,24 +108,24 @@ class TripleOscillator : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
TripleOscillator( InstrumentTrack * _track );
|
||||
virtual ~TripleOscillator();
|
||||
~TripleOscillator() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames() const
|
||||
f_cnt_t desiredReleaseFrames() const override
|
||||
{
|
||||
return( 128 );
|
||||
}
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
|
||||
protected slots:
|
||||
@@ -157,11 +157,11 @@ class TripleOscillatorView : public InstrumentViewFixedSize
|
||||
Q_OBJECT
|
||||
public:
|
||||
TripleOscillatorView( Instrument * _instrument, QWidget * _parent );
|
||||
virtual ~TripleOscillatorView();
|
||||
~TripleOscillatorView() override;
|
||||
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
automatableButtonGroup * m_mod1BtnGrp;
|
||||
automatableButtonGroup * m_mod2BtnGrp;
|
||||
|
||||
@@ -47,7 +47,7 @@ class VecControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit VecControls(Vectorscope *effect);
|
||||
virtual ~VecControls() {}
|
||||
~VecControls() override {}
|
||||
|
||||
gui::EffectControlDialog* createView() override;
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ class VecControlsDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit VecControlsDialog(VecControls *controls);
|
||||
virtual ~VecControlsDialog() {}
|
||||
~VecControlsDialog() override {}
|
||||
|
||||
bool isResizable() const override {return true;}
|
||||
QSize sizeHint() const override;
|
||||
|
||||
@@ -44,7 +44,7 @@ class VectorView : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit VectorView(VecControls *controls, LocklessRingBuffer<sampleFrame> *inputBuffer, unsigned short displaySize, QWidget *parent = 0);
|
||||
virtual ~VectorView() {}
|
||||
~VectorView() override {}
|
||||
|
||||
QSize sizeHint() const override {return QSize(300, 300);}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ class Vectorscope : public Effect
|
||||
{
|
||||
public:
|
||||
Vectorscope(Model *parent, const Descriptor::SubPluginFeatures::Key *key);
|
||||
virtual ~Vectorscope() {};
|
||||
~Vectorscope() override {};
|
||||
|
||||
bool processAudioBuffer(sampleFrame *buffer, const fpp_t frame_count) override;
|
||||
EffectControls *controls() override {return &m_controls;}
|
||||
|
||||
@@ -103,11 +103,11 @@ public:
|
||||
setWindowFlags( Qt::WindowCloseButtonHint );
|
||||
}
|
||||
|
||||
virtual ~vstSubWin()
|
||||
~vstSubWin() override
|
||||
{
|
||||
}
|
||||
|
||||
virtual void closeEvent( QCloseEvent * e )
|
||||
void closeEvent( QCloseEvent * e ) override
|
||||
{
|
||||
// ignore close-events - for some reason otherwise the VST GUI
|
||||
// remains hidden when re-opening
|
||||
|
||||
@@ -67,7 +67,7 @@ public:
|
||||
int _default,
|
||||
int _x, int _y,
|
||||
QWidget * _parent);
|
||||
virtual ~NineButtonSelector();
|
||||
~NineButtonSelector() override;
|
||||
|
||||
// inline int getSelected() {
|
||||
// return( castModel<NineButtonSelectorModel>()->value() );
|
||||
@@ -86,13 +86,13 @@ public slots:
|
||||
void button6Clicked();
|
||||
void button7Clicked();
|
||||
void button8Clicked();
|
||||
void contextMenuEvent( QContextMenuEvent * );
|
||||
void contextMenuEvent( QContextMenuEvent * ) override;
|
||||
|
||||
signals:
|
||||
void NineButtonSelection( int );
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
void updateButton( int );
|
||||
|
||||
QList<PixmapButton *> m_buttons;
|
||||
|
||||
@@ -97,11 +97,11 @@ class VibedView : public InstrumentViewFixedSize
|
||||
public:
|
||||
VibedView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
virtual ~VibedView() {};
|
||||
~VibedView() override {};
|
||||
|
||||
public slots:
|
||||
void showString( int _string );
|
||||
void contextMenuEvent( QContextMenuEvent * );
|
||||
void contextMenuEvent( QContextMenuEvent * ) override;
|
||||
|
||||
protected slots:
|
||||
void sinWaveClicked();
|
||||
@@ -114,7 +114,7 @@ protected slots:
|
||||
void normalizeClicked();
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
|
||||
// String-related
|
||||
|
||||
@@ -45,7 +45,7 @@ class VSTBASE_EXPORT VstPlugin : public RemotePlugin, public JournallingObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
VstPlugin( const QString & _plugin );
|
||||
virtual ~VstPlugin();
|
||||
~VstPlugin() override;
|
||||
|
||||
void tryLoad( const QString &remoteVstPluginExecutable );
|
||||
|
||||
@@ -112,7 +112,7 @@ public:
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const override
|
||||
QString nodeName() const override
|
||||
{
|
||||
return "vstplugin";
|
||||
}
|
||||
|
||||
@@ -43,12 +43,12 @@ class VstEffect : public Effect
|
||||
public:
|
||||
VstEffect( Model * _parent,
|
||||
const Descriptor::SubPluginFeatures::Key * _key );
|
||||
virtual ~VstEffect();
|
||||
~VstEffect() override;
|
||||
|
||||
virtual bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames );
|
||||
bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames ) override;
|
||||
|
||||
virtual EffectControls * controls()
|
||||
EffectControls * controls() override
|
||||
{
|
||||
return &m_vstControls;
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ class VstEffectControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
VstEffectControlDialog( VstEffectControls * _controls );
|
||||
virtual ~VstEffectControlDialog();
|
||||
~VstEffectControlDialog() override;
|
||||
|
||||
protected:
|
||||
void paintEvent( QPaintEvent * _pe ) override;
|
||||
|
||||
@@ -55,18 +55,18 @@ class VstEffectControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
VstEffectControls( VstEffect * _eff );
|
||||
virtual ~VstEffectControls();
|
||||
~VstEffectControls() override;
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return "vsteffectcontrols";
|
||||
}
|
||||
|
||||
virtual int controlCount();
|
||||
int controlCount() override;
|
||||
|
||||
virtual gui::EffectControlDialog* createView();
|
||||
gui::EffectControlDialog* createView() override;
|
||||
|
||||
|
||||
protected slots:
|
||||
@@ -113,7 +113,7 @@ class ManageVSTEffectView : public QObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
ManageVSTEffectView( VstEffect * _eff, VstEffectControls * m_vi );
|
||||
virtual ~ManageVSTEffectView();
|
||||
~ManageVSTEffectView() override;
|
||||
|
||||
|
||||
protected slots:
|
||||
|
||||
@@ -40,11 +40,11 @@ class VstSubPluginFeatures : public Plugin::Descriptor::SubPluginFeatures
|
||||
public:
|
||||
VstSubPluginFeatures( Plugin::PluginTypes _type );
|
||||
|
||||
virtual void fillDescriptionWidget( QWidget * _parent,
|
||||
const Key * _key ) const;
|
||||
void fillDescriptionWidget( QWidget * _parent,
|
||||
const Key * _key ) const override;
|
||||
|
||||
virtual void listSubPluginKeys( const Plugin::Descriptor * _desc,
|
||||
KeyList & _kl ) const;
|
||||
void listSubPluginKeys( const Plugin::Descriptor * _desc,
|
||||
KeyList & _kl ) const override;
|
||||
private:
|
||||
void addPluginsFromDir(QStringList* filenames, QString path) const;
|
||||
} ;
|
||||
|
||||
@@ -139,25 +139,25 @@ class WatsynInstrument : public Instrument
|
||||
Q_OBJECT
|
||||
public:
|
||||
WatsynInstrument( InstrumentTrack * _instrument_track );
|
||||
virtual ~WatsynInstrument();
|
||||
~WatsynInstrument() override;
|
||||
|
||||
virtual void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer );
|
||||
virtual void deleteNotePluginData( NotePlayHandle * _n );
|
||||
void playNote( NotePlayHandle * _n,
|
||||
sampleFrame * _working_buffer ) override;
|
||||
void deleteNotePluginData( NotePlayHandle * _n ) override;
|
||||
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc,
|
||||
QDomElement & _this );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
void saveSettings( QDomDocument & _doc,
|
||||
QDomElement & _this ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
|
||||
virtual QString nodeName() const;
|
||||
QString nodeName() const override;
|
||||
|
||||
virtual f_cnt_t desiredReleaseFrames() const
|
||||
f_cnt_t desiredReleaseFrames() const override
|
||||
{
|
||||
return( 64 );
|
||||
}
|
||||
|
||||
virtual gui::PluginView* instantiateView( QWidget * _parent );
|
||||
gui::PluginView* instantiateView( QWidget * _parent ) override;
|
||||
|
||||
public slots:
|
||||
void updateVolumes();
|
||||
@@ -310,7 +310,7 @@ class WatsynView : public InstrumentViewFixedSize
|
||||
public:
|
||||
WatsynView( Instrument * _instrument,
|
||||
QWidget * _parent );
|
||||
virtual ~WatsynView();
|
||||
~WatsynView() override;
|
||||
|
||||
protected slots:
|
||||
void updateLayout();
|
||||
@@ -328,7 +328,7 @@ protected slots:
|
||||
void loadClicked();
|
||||
|
||||
private:
|
||||
virtual void modelChanged();
|
||||
void modelChanged() override;
|
||||
|
||||
// knobs
|
||||
Knob * a1_volKnob;
|
||||
|
||||
@@ -39,11 +39,11 @@ class WaveShaperEffect : public Effect
|
||||
public:
|
||||
WaveShaperEffect( Model * _parent,
|
||||
const Descriptor::SubPluginFeatures::Key * _key );
|
||||
virtual ~WaveShaperEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames );
|
||||
~WaveShaperEffect() override;
|
||||
bool processAudioBuffer( sampleFrame * _buf,
|
||||
const fpp_t _frames ) override;
|
||||
|
||||
virtual EffectControls * controls()
|
||||
EffectControls * controls() override
|
||||
{
|
||||
return( &m_wsControls );
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class WaveShaperControlDialog : public EffectControlDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
WaveShaperControlDialog( WaveShaperControls * _controls );
|
||||
virtual ~WaveShaperControlDialog()
|
||||
~WaveShaperControlDialog() override
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -42,25 +42,25 @@ class WaveShaperControls : public EffectControls
|
||||
Q_OBJECT
|
||||
public:
|
||||
WaveShaperControls( WaveShaperEffect * _eff );
|
||||
virtual ~WaveShaperControls()
|
||||
~WaveShaperControls() override
|
||||
{
|
||||
}
|
||||
|
||||
virtual void saveSettings( QDomDocument & _doc, QDomElement & _parent );
|
||||
virtual void loadSettings( const QDomElement & _this );
|
||||
inline virtual QString nodeName() const
|
||||
void saveSettings( QDomDocument & _doc, QDomElement & _parent ) override;
|
||||
void loadSettings( const QDomElement & _this ) override;
|
||||
inline QString nodeName() const override
|
||||
{
|
||||
return( "waveshapercontrols" );
|
||||
}
|
||||
|
||||
virtual void setDefaultShape();
|
||||
|
||||
virtual int controlCount()
|
||||
int controlCount() override
|
||||
{
|
||||
return( 4 );
|
||||
}
|
||||
|
||||
virtual gui::EffectControlDialog* createView()
|
||||
gui::EffectControlDialog* createView() override
|
||||
{
|
||||
return( new gui::WaveShaperControlDialog( this ) );
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user