summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/OutputPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/OutputPort.h')
-rw-r--r--src/libs/engine/OutputPort.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/libs/engine/OutputPort.h b/src/libs/engine/OutputPort.h
index 6c029850..10118076 100644
--- a/src/libs/engine/OutputPort.h
+++ b/src/libs/engine/OutputPort.h
@@ -20,13 +20,11 @@
#include <string>
#include <cstdlib>
-#include "TypedPort.h"
+#include "Port.h"
#include "types.h"
namespace Ingen {
-template <typename T> class InputPort;
-
/** An output port.
*
@@ -39,14 +37,16 @@ template <typename T> class InputPort;
*
* \ingroup engine
*/
-template <typename T>
-class OutputPort : virtual public TypedPort<T>
+class OutputPort : virtual public Port
{
public:
- OutputPort(Node* parent, const string& name,
- size_t index, size_t poly,
- DataType type, size_t buffer_size)
- : TypedPort<T>(parent, name, index, poly, type, buffer_size)
+ OutputPort(Node* parent,
+ const string& name,
+ size_t index,
+ size_t poly,
+ DataType type,
+ size_t buffer_size)
+ : Port(parent, name, index, poly, type, buffer_size)
{}
virtual ~OutputPort() {}
@@ -56,8 +56,6 @@ public:
};
-template class OutputPort<Sample>;
-
} // namespace Ingen
#endif // OUTPUTPORT_H