summaryrefslogtreecommitdiffstats
path: root/src/server/InputPort.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-08-31 01:24:57 +0000
committerDavid Robillard <d@drobilla.net>2014-08-31 01:24:57 +0000
commita2792bd09212eed55bba1aa30dc09043a6955486 (patch)
treed4262f760d4522bc6f1c99778987aada332b9e7e /src/server/InputPort.hpp
parente3ecb2b439bd03d27b5e11efe430c24f0ebe6283 (diff)
downloadingen-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/InputPort.hpp')
-rw-r--r--src/server/InputPort.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/server/InputPort.hpp b/src/server/InputPort.hpp
index 12d28b04..d3bcd0be 100644
--- a/src/server/InputPort.hpp
+++ b/src/server/InputPort.hpp
@@ -96,12 +96,18 @@ public:
uint32_t poly,
bool real_time) const;
- /** Prepare buffer for access, mixing if necessary. */
+ /** Set up buffer pointers. */
void pre_process(Context& context);
+ /** Prepare buffer for access, mixing if necessary. */
+ void pre_run(Context& context);
+
/** Prepare buffer for next process cycle. */
void post_process(Context& context);
+ SampleCount next_value_offset(SampleCount offset, SampleCount end) const;
+ void update_values(SampleCount offset);
+
size_t num_arcs() const { return _num_arcs; } ///< Pre-process thread
void increment_num_arcs() { ++_num_arcs; }
void decrement_num_arcs() { --_num_arcs; }