summaryrefslogtreecommitdiffstats
path: root/src/server/DuplexPort.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-09-02 02:18:36 +0000
committerDavid Robillard <d@drobilla.net>2014-09-02 02:18:36 +0000
commit84ea08aab648697b766a8b98949f13a0b4d61a95 (patch)
tree1c767fe7104f51835418118b42b9691accdabd87 /src/server/DuplexPort.hpp
parenta2792bd09212eed55bba1aa30dc09043a6955486 (diff)
downloadingen-84ea08aab648697b766a8b98949f13a0b4d61a95.tar.gz
ingen-84ea08aab648697b766a8b98949f13a0b4d61a95.tar.bz2
ingen-84ea08aab648697b766a8b98949f13a0b4d61a95.zip
Fix polyphonic subgraph outputs in a monophonic parent graph.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5464 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/DuplexPort.hpp')
-rw-r--r--src/server/DuplexPort.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server/DuplexPort.hpp b/src/server/DuplexPort.hpp
index d231cebd..a247841e 100644
--- a/src/server/DuplexPort.hpp
+++ b/src/server/DuplexPort.hpp
@@ -64,6 +64,10 @@ public:
uint32_t max_tail_poly(Context& context) const;
+ bool prepare_poly(BufferFactory& bufs, uint32_t poly);
+
+ bool apply_poly(ProcessContext& context, Raul::Maid& maid, uint32_t poly);
+
bool get_buffers(BufferFactory& bufs,
Raul::Array<Voice>* voices,
uint32_t poly,
@@ -73,7 +77,7 @@ public:
void post_process(Context& context);
SampleCount next_value_offset(SampleCount offset, SampleCount end) const;
- void update_values(SampleCount offset);
+ void update_values(SampleCount offset, uint32_t voice);
bool is_input() const { return !_is_output; }
bool is_output() const { return _is_output; }