diff options
author | David Robillard <d@drobilla.net> | 2011-10-06 22:56:03 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-06 22:56:03 +0000 |
commit | d3c0df029087b2c7c7f26a4365e85f8e500cc33e (patch) | |
tree | 4ab0650202c79e407544038746e72fa9410d590d /src/server/OutputPort.hpp | |
parent | bb12144cbfb8c06f502ce0f963edefbb6009aea9 (diff) | |
download | ingen-d3c0df029087b2c7c7f26a4365e85f8e500cc33e.tar.gz ingen-d3c0df029087b2c7c7f26a4365e85f8e500cc33e.tar.bz2 ingen-d3c0df029087b2c7c7f26a4365e85f8e500cc33e.zip |
Align members of NodeImpl for slightly less memory consumption per node.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3533 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/OutputPort.hpp')
-rw-r--r-- | src/server/OutputPort.hpp | 9 |
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; } }; |