diff options
author | David Robillard <d@drobilla.net> | 2014-08-31 01:24:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-08-31 01:24:57 +0000 |
commit | a2792bd09212eed55bba1aa30dc09043a6955486 (patch) | |
tree | d4262f760d4522bc6f1c99778987aada332b9e7e /src/server/OutputPort.hpp | |
parent | e3ecb2b439bd03d27b5e11efe430c24f0ebe6283 (diff) | |
download | ingen-a2792bd09212eed55bba1aa30dc09043a6955486.tar.gz ingen-a2792bd09212eed55bba1aa30dc09043a6955486.tar.bz2 ingen-a2792bd09212eed55bba1aa30dc09043a6955486.zip |
Use float sequences for sample-accurate control ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5462 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/OutputPort.hpp')
-rw-r--r-- | src/server/OutputPort.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/server/OutputPort.hpp b/src/server/OutputPort.hpp index 92ed8428..24017059 100644 --- a/src/server/OutputPort.hpp +++ b/src/server/OutputPort.hpp @@ -29,10 +29,6 @@ namespace Server { * Output ports always have a locally allocated buffer, and buffer() will * always return that buffer. (This is very different from InputPort) * - * This class actually adds no functionality to Port whatsoever right now, - * it will in the future when more advanced port types exist, and it makes - * things clearer throughout the engine. - * * \ingroup engine */ class OutputPort : virtual public PortImpl @@ -58,6 +54,9 @@ public: void pre_process(Context& context); void post_process(Context& context); + SampleCount next_value_offset(SampleCount offset, SampleCount end) const; + void update_values(SampleCount offset); + bool is_input() const { return false; } bool is_output() const { return true; } }; |