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/PortImpl.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/PortImpl.hpp')
-rw-r--r-- | src/engine/PortImpl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/PortImpl.hpp b/src/engine/PortImpl.hpp index a2eaf2c9..338c7482 100644 --- a/src/engine/PortImpl.hpp +++ b/src/engine/PortImpl.hpp @@ -81,6 +81,9 @@ public: return buf; } } + inline Buffer* prepared_buffer(uint32_t voice) const { + return _prepared_buffers->at(voice); + } /** Called once per process cycle */ virtual void pre_process(ProcessContext& context) = 0; |