summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/luaproc.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-07-11 22:22:17 +0200
committerRobin Gareus <robin@gareus.org>2016-07-11 22:22:17 +0200
commit4537f5fb20b2f43394ef1b47aecfd320fce0c2bb (patch)
treefe6ac1bbffe477dd9b3e30c853872f08efc363c6 /libs/ardour/ardour/luaproc.h
parent10d11e0544dca39c8a2683cef099fdaf3e83e680 (diff)
proper semantics for variable port-count
Ardour takes the closest pin/port match yet still offers a plugin with variable i/o access to all port-buffers. the "reported" (user visible) pin-count now defaults to the actual selected configuration (precise) and lua_dsp_configure() can override it.
Diffstat (limited to 'libs/ardour/ardour/luaproc.h')
-rw-r--r--libs/ardour/ardour/luaproc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/luaproc.h b/libs/ardour/ardour/luaproc.h
index bd77efaff9..cc7c1e1e5d 100644
--- a/libs/ardour/ardour/luaproc.h
+++ b/libs/ardour/ardour/luaproc.h
@@ -156,6 +156,10 @@ private:
ChanCount _configured_in;
ChanCount _configured_out;
+
+ ChanCount _selected_in;
+ ChanCount _selected_out;
+
PluginOutputConfiguration _output_configs;
bool _has_midi_input;