diff options
author | David Robillard <d@drobilla.net> | 2008-10-06 02:22:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-06 02:22:14 +0000 |
commit | 7d54c7a3831bde7a99a3b7824d2304da7c5715b0 (patch) | |
tree | d9f59627d1047ab8c9fef93e06c1f4cc8e6ef6e1 /src/engine/InputPort.hpp | |
parent | cc2eb2e38c4c8cb343b81974b774cef0af3dce4e (diff) | |
download | ingen-7d54c7a3831bde7a99a3b7824d2304da7c5715b0.tar.gz ingen-7d54c7a3831bde7a99a3b7824d2304da7c5715b0.tar.bz2 ingen-7d54c7a3831bde7a99a3b7824d2304da7c5715b0.zip |
LV2 and polyphony fixes from kfoltman.
Fix crash on changing polyphony when control->audio connections are present.
Increasing polyphony audibly adds new voices now and controls can be individually twiddled, but changing polyphony nukes individual voice values (issue #223).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1623 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/InputPort.hpp')
-rw-r--r-- | src/engine/InputPort.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/InputPort.hpp b/src/engine/InputPort.hpp index 6eca20f4..abc63a91 100644 --- a/src/engine/InputPort.hpp +++ b/src/engine/InputPort.hpp @@ -74,10 +74,12 @@ public: bool is_input() const { return true; } bool is_output() const { return false; } - + virtual void set_buffer_size(size_t size); private: + bool can_direct() const; + Connections _connections; }; |