summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/export_channel.h')
-rw-r--r--libs/ardour/ardour/export_channel.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/libs/ardour/ardour/export_channel.h b/libs/ardour/ardour/export_channel.h
index cbb894c66a..1a71f14c3c 100644
--- a/libs/ardour/ardour/export_channel.h
+++ b/libs/ardour/ardour/export_channel.h
@@ -26,11 +26,11 @@
#include <boost/signals2.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/scoped_array.hpp>
-#include <boost/operators.hpp>
#include "pbd/signals.h"
#include "ardour/buffer_set.h"
+#include "ardour/export_pointers.h"
namespace ARDOUR {
@@ -62,17 +62,6 @@ class ExportChannel : public boost::less_than_comparable<ExportChannel>
virtual bool operator< (ExportChannel const & other) const = 0;
};
-/// Safe pointer for storing ExportChannels in ordered STL containers
-class ExportChannelPtr : public boost::shared_ptr<ExportChannel>
- , public boost::less_than_comparable<ExportChannel>
-{
- public:
- ExportChannelPtr () {}
- template<typename Y> explicit ExportChannelPtr (Y * ptr) : boost::shared_ptr<ExportChannel> (ptr) {}
-
- bool operator< (ExportChannelPtr const & other) const { return **this < *other; }
-};
-
/// Basic export channel that reads from AudioPorts
class PortExportChannel : public ExportChannel
{
@@ -99,6 +88,7 @@ class PortExportChannel : public ExportChannel
framecnt_t buffer_size;
};
+
/// Handles RegionExportChannels and does actual reading from region
class RegionExportChannelFactory
{