From 9f1903d96cccc7cb2f456d68d31446fa739905f7 Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Thu, 9 Dec 2010 18:30:17 +0000 Subject: Fix compiler warnings, and a typo in the transport max slider value. --- muse2/plugins/pandelay/ladspapandelay.h | 3 +++ muse2/plugins/pandelay/pandelaymodel.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'muse2/plugins') 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 { -- cgit v1.2.3