summaryrefslogtreecommitdiffstats
path: root/src/server/OutputPort.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/OutputPort.hpp')
-rw-r--r--src/server/OutputPort.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/server/OutputPort.hpp b/src/server/OutputPort.hpp
index a076209b..168ab7c4 100644
--- a/src/server/OutputPort.hpp
+++ b/src/server/OutputPort.hpp
@@ -18,8 +18,9 @@
#ifndef INGEN_ENGINE_OUTPUTPORT_HPP
#define INGEN_ENGINE_OUTPUTPORT_HPP
-#include <string>
#include <cstdlib>
+#include <string>
+
#include "PortImpl.hpp"
namespace Ingen {
@@ -44,10 +45,12 @@ public:
const Raul::Symbol& symbol,
uint32_t index,
uint32_t poly,
- PortType type,
+ PortType type,
const Raul::Atom& value,
size_t buffer_size=0);
+ virtual ~OutputPort() {}
+
bool get_buffers(BufferFactory& bufs,
Raul::Array<BufferFactory::Ref>* buffers,
uint32_t poly) const;
@@ -55,8 +58,6 @@ public:
void pre_process(Context& context);
void post_process(Context& context);
- virtual ~OutputPort() {}
-
bool is_input() const { return false; }
bool is_output() const { return true; }
};