diff options
author | Damien Zammit <damien@zamaudio.com> | 2014-07-01 09:44:41 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2014-07-01 09:44:41 +1000 |
commit | d9f19c1ea41be270ca51049f65298317971e62b1 (patch) | |
tree | 53858b7dc901608a90adf81f738ad7b44e9c78ab | |
parent | 0d80fefbbb2eb72212cc890ceef2de601101b59b (diff) |
Fixed minor issue with new plugin after DPF was updated
Signed-off-by: Damien Zammit <damien@zamaudio.com>
-rw-r--r-- | plugins/ZamAutoSat/DistrhoPluginInfo.h | 2 | ||||
-rw-r--r-- | plugins/ZamAutoSat/Makefile | 14 | ||||
-rw-r--r-- | plugins/ZamAutoSat/ZamAutoSatPlugin.cpp | 2 | ||||
-rw-r--r-- | plugins/ZamAutoSat/ZamAutoSatPlugin.hpp | 10 | ||||
-rw-r--r-- | plugins/ZamAutoSat/ZamAutoSatUI.hpp | 2 |
5 files changed, 17 insertions, 13 deletions
diff --git a/plugins/ZamAutoSat/DistrhoPluginInfo.h b/plugins/ZamAutoSat/DistrhoPluginInfo.h index efa7e32..d5c0cc7 100644 --- a/plugins/ZamAutoSat/DistrhoPluginInfo.h +++ b/plugins/ZamAutoSat/DistrhoPluginInfo.h @@ -27,7 +27,7 @@ #define DISTRHO_PLUGIN_NUM_OUTPUTS 1 #define DISTRHO_PLUGIN_WANT_LATENCY 0 -#define DISTRHO_PLUGIN_WANT_PROGRAMS 1 +#define DISTRHO_PLUGIN_WANT_PROGRAMS 0 #define DISTRHO_PLUGIN_WANT_STATE 0 #define DISTRHO_PLUGIN_WANT_TIMEPOS 0 diff --git a/plugins/ZamAutoSat/Makefile b/plugins/ZamAutoSat/Makefile index 1b114d3..e99ef0e 100644 --- a/plugins/ZamAutoSat/Makefile +++ b/plugins/ZamAutoSat/Makefile @@ -15,18 +15,22 @@ NAME = ZamAutoSat OBJS_DSP = \ ZamAutoSatPlugin.cpp.o -OBJS_UI = \ +OBJS_UI = \ ZamAutoSatArtwork.cpp.o \ ZamAutoSatUI.cpp.o # -------------------------------------------------------------- -# No custom UI for now +# Do some magic -#TARGET_NOUI = true +include ../Makefile.mk # -------------------------------------------------------------- -# Do some magic +# Enable all possible plugin types -include ../Makefile.mk +ifeq ($(LINUX),true) +all: jack ladspa dssi lv2_sep vst +else +all: ladspa dssi lv2_sep vst +endif # -------------------------------------------------------------- diff --git a/plugins/ZamAutoSat/ZamAutoSatPlugin.cpp b/plugins/ZamAutoSat/ZamAutoSatPlugin.cpp index 75e2052..d617d07 100644 --- a/plugins/ZamAutoSat/ZamAutoSatPlugin.cpp +++ b/plugins/ZamAutoSat/ZamAutoSatPlugin.cpp @@ -81,7 +81,7 @@ void ZamAutoSatPlugin::d_deactivate() { } -void ZamAutoSatPlugin::d_run(float** inputs, float** outputs, uint32_t frames) +void ZamAutoSatPlugin::d_run(const float** inputs, float** outputs, uint32_t frames) { uint32_t i; for (i = 0; i < frames; i++) { diff --git a/plugins/ZamAutoSat/ZamAutoSatPlugin.hpp b/plugins/ZamAutoSat/ZamAutoSatPlugin.hpp index 4b722ee..60b16c9 100644 --- a/plugins/ZamAutoSat/ZamAutoSatPlugin.hpp +++ b/plugins/ZamAutoSat/ZamAutoSatPlugin.hpp @@ -73,14 +73,14 @@ protected: // -------------------------------------------------------------------
// Internal data
- float d_getParameterValue(uint32_t index) const override;
- void d_setParameterValue(uint32_t index, float value) override;
+ float d_getParameterValue(uint32_t index) const ;
+ void d_setParameterValue(uint32_t index, float value) ;
void d_setProgram(uint32_t index) ;
// -------------------------------------------------------------------
- void d_activate() override;
- void d_deactivate() override;
- void d_run(float** inputs, float** outputs, uint32_t frames) override;
+ void d_activate() ;
+ void d_deactivate() ;
+ void d_run(const float** inputs, float** outputs, uint32_t frames) override;
// -------------------------------------------------------------------
diff --git a/plugins/ZamAutoSat/ZamAutoSatUI.hpp b/plugins/ZamAutoSat/ZamAutoSatUI.hpp index 921cf26..4875382 100644 --- a/plugins/ZamAutoSat/ZamAutoSatUI.hpp +++ b/plugins/ZamAutoSat/ZamAutoSatUI.hpp @@ -55,7 +55,7 @@ protected: // DSP Callbacks void d_parameterChanged(uint32_t index, float value) override; - void d_programChanged(uint32_t index) override; + void d_programChanged(uint32_t index) ; // ------------------------------------------------------------------- |