summaryrefslogtreecommitdiff
path: root/libs/ardour/luaproc.cc
diff options
context:
space:
mode:
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2016-08-01 21:57:39 +0200
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2016-08-06 19:38:09 +0200
commitf7c31569606405a98149cc01bcad5f6008cd744d (patch)
treeb5835f22afda0364857fc4086fac6c6b8798f38e /libs/ardour/luaproc.cc
parent0f00d5147129259db94783c67c49e37c944da086 (diff)
Remove code with no actual effect
That code modifies \imprecise if it is not NULL, but - if a configuration is found, \imprecise will be set to in, clobbering the tentative changes done here; - if a configuration is not found, a last-resort loop will be run that will set the same member of \imprecise, also clobbering our changes. Remove it since it does nothing that is looked at before being forgotten. A way to get the intended outcome will be introduced later.
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r--libs/ardour/luaproc.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc
index 6af4a1842e..0c5581e2a0 100644
--- a/libs/ardour/luaproc.cc
+++ b/libs/ardour/luaproc.cc
@@ -505,11 +505,6 @@ LuaProc::can_support_io_configuration (const ChanCount& in, ChanCount& out, Chan
if (possible_in < -2) {
/* explicit variable number of inputs */
- if (audio_in > -possible_in && imprecise != NULL) {
- // hide inputs ports
- imprecise->set (DataType::AUDIO, -possible_in);
- }
-
if (audio_in > -possible_in && imprecise == NULL) {
/* request is too large */
} else if (possible_out == -1) {