fix construction of new xfades from legacy xfades, and add a few comments here and...
[ardour.git] / libs / ardour / ardour / return.h
index 8ec4c9b8b53c54553c66dcfbe124bdb966734612..55ca2d84f6cdc1ac6a59b1480bc8b4e40f5c5de3 100644 (file)
@@ -1,6 +1,6 @@
 /*
     Copyright (C) 2009 Paul Davis
-    Author: Dave Robillard
+    Author: David Robillard
 
     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
@@ -26,7 +26,6 @@
 
 #include "pbd/stateful.h"
 #include "ardour/ardour.h"
-#include "ardour/audioengine.h"
 #include "ardour/io_processor.h"
 
 namespace ARDOUR {
@@ -34,6 +33,7 @@ namespace ARDOUR {
 class Amp;
 class PeakMeter;
 
+
 class Return : public IOProcessor
 {
 public:
@@ -60,7 +60,7 @@ public:
        bool configure_io (ChanCount in, ChanCount out);
 
        static uint32_t how_many_returns();
-       static void make_unique (XMLNode &, Session &);
+       static std::string name_and_id_new_return (Session&, uint32_t&);
 
   protected:
        bool _metering;
@@ -74,7 +74,6 @@ private:
        uint32_t _bitslot;
 
        void collect_input (BufferSet& bufs, pframes_t nframes, ChanCount offset = ChanCount::ZERO);
-       void just_meter_input (framepos_t start_frame, framepos_t end_frame, pframes_t nframes);
 };
 
 } // namespace ARDOUR