aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Effect/ladspa
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Effect/ladspa')
-rw-r--r--src/plugins/Effect/ladspa/ladspahost.cpp4
-rw-r--r--src/plugins/Effect/ladspa/ladspahost.h6
-rw-r--r--src/plugins/Effect/ladspa/settingsdialog.cpp4
3 files changed, 6 insertions, 8 deletions
diff --git a/src/plugins/Effect/ladspa/ladspahost.cpp b/src/plugins/Effect/ladspa/ladspahost.cpp
index 36f7081c6..0a15b1875 100644
--- a/src/plugins/Effect/ladspa/ladspahost.cpp
+++ b/src/plugins/Effect/ladspa/ladspahost.cpp
@@ -1,7 +1,7 @@
/***************************************************************************
* Copyright (C) 2002-2003 Nick Lamb <njl195@zepler.org.uk> *
* Copyright (C) 2005 Giacomo Lozito <city_hunter@users.sf.net> *
- * Copyright (C) 2009-2015 by Ilya Kotov <forkotov02@ya.ru> *
+ * Copyright (C) 2009-2020 by Ilya Kotov <forkotov02@ya.ru> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -41,8 +41,6 @@ LADSPAHost *LADSPAHost::m_instance = nullptr;
LADSPAHost::LADSPAHost(QObject *parent) : QObject(parent)
{
- m_chan = 2;
- m_freq = 44100;
m_instance = this;
loadModules();
diff --git a/src/plugins/Effect/ladspa/ladspahost.h b/src/plugins/Effect/ladspa/ladspahost.h
index 6b436dfb3..131f874bd 100644
--- a/src/plugins/Effect/ladspa/ladspahost.h
+++ b/src/plugins/Effect/ladspa/ladspahost.h
@@ -1,7 +1,7 @@
/***************************************************************************
* Copyright (C) 2002,2003 Nick Lamb <njl195@zepler.org.uk> *
* Copyright (C) 2005 Giacomo Lozito <city_hunter@users.sf.net> *
- * Copyright (C) 2009-2015 by Ilya Kotov <forkotov02@ya.ru> *
+ * Copyright (C) 2009-2020 by Ilya Kotov <forkotov02@ya.ru> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -102,8 +102,8 @@ private:
QList <LADSPAEffect *> m_effects;
static LADSPAHost *m_instance;
- int m_chan;
- quint32 m_freq;
+ int m_chan = 2;
+ quint32 m_freq = 44100;
QList<void *> m_modules;
LADSPA_Data m_buf[9][MAX_SAMPLES];
};
diff --git a/src/plugins/Effect/ladspa/settingsdialog.cpp b/src/plugins/Effect/ladspa/settingsdialog.cpp
index 877b3098e..b96c6533c 100644
--- a/src/plugins/Effect/ladspa/settingsdialog.cpp
+++ b/src/plugins/Effect/ladspa/settingsdialog.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009-2015 by Ilya Kotov *
+ * Copyright (C) 2009-2020 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -129,7 +129,7 @@ void SettingsDialog::on_configureButton_clicked()
}
if (effect->controls.isEmpty())
{
- QLabel *label = new QLabel(tr("This LADSPA plugin has no user controls"), dialog);
+ label = new QLabel(tr("This LADSPA plugin has no user controls"), dialog);
formLayout->addRow(label);
}
dialog->setLayout(formLayout);