summaryrefslogtreecommitdiff
path: root/muse2/plugins/pandelay
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-09 18:30:17 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-09 18:30:17 +0000
commit9f1903d96cccc7cb2f456d68d31446fa739905f7 (patch)
tree1c30a654f041dbb7614a2f8d64243b2e40336e0a /muse2/plugins/pandelay
parent703f47458a859c9559c13038246dd37529eba6ff (diff)
Fix compiler warnings, and a typo in the transport max slider value.
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 {