summaryrefslogtreecommitdiff
path: root/muse2/plugins/pandelay
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/plugins/pandelay')
-rw-r--r--muse2/plugins/pandelay/ladspapandelay.h3
-rw-r--r--muse2/plugins/pandelay/pandelaymodel.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/muse2/plugins/pandelay/ladspapandelay.h b/muse2/plugins/pandelay/ladspapandelay.h
index ab5427a1..dd7fc0ea 100644
--- a/muse2/plugins/pandelay/ladspapandelay.h
+++ b/muse2/plugins/pandelay/ladspapandelay.h
@@ -33,6 +33,9 @@
#include "pandelaymodel.h"
#include "../../muse/ladspa.h"
+#ifdef NBRPARAM
+#undef NBRPARAM
+#endif
#define NBRPARAM 6
class LADSPAPanDelay : public PanDelayModel {
diff --git a/muse2/plugins/pandelay/pandelaymodel.h b/muse2/plugins/pandelay/pandelaymodel.h
index 65983187..e3f74bcd 100644
--- a/muse2/plugins/pandelay/pandelaymodel.h
+++ b/muse2/plugins/pandelay/pandelaymodel.h
@@ -42,6 +42,9 @@
#define MINDELAYTIME 0.01 //in second
#define MAXDELAYTIME 2.0 //in second
+#ifdef NBRPARAM
+#undef NBRPARAM
+#endif
#define NBRPARAM 5
class PanDelayModel {