Prefer const references: Beat-Converter does not modify the TempoMap
[ardour.git] / libs / ardour / ardour / pitch.h
index 3173f9ff235a65122f7b993fc6e13364c91bb1bd..4c8db5fb80e05ec630176942fbe3ce57b3344c9e 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2007 Paul Davis 
+    Copyright (C) 2007 Paul Davis
 
     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
 #ifndef __ardour_pitch_h__
 #define __ardour_pitch_h__
 
+#ifdef WAF_BUILD
+#include "libardour-config.h"
+#endif
+
 #include "ardour/filter.h"
+#include "ardour/timefx_request.h"
 
 namespace ARDOUR {
        class AudioRegion;
@@ -32,7 +37,7 @@ namespace ARDOUR {
 
 namespace ARDOUR {
 
-class Pitch : public RBEffect {
+class LIBARDOUR_API Pitch : public RBEffect {
   public:
        Pitch (ARDOUR::Session&, TimeFXRequest&);
        ~Pitch () {}
@@ -44,12 +49,12 @@ class Pitch : public RBEffect {
 
 namespace ARDOUR {
 
-class Pitch : public Filter {
+class LIBARDOUR_API Pitch : public Filter {
   public:
        Pitch (ARDOUR::Session&, TimeFXRequest&);
        ~Pitch () {}
 
-       int run (boost::shared_ptr<ARDOUR::Region>);
+       int run (boost::shared_ptr<ARDOUR::Region>, Progress *);
 
   private:
        TimeFXRequest& tsr;