diff options
author | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-08-04 13:01:28 +0200 |
---|---|---|
committer | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-08-06 19:38:09 +0200 |
commit | 82e1ef5fb06ac37e3a719b03402fc2a4270e9625 (patch) | |
tree | 8ef656b4ab47fd0989b03f29d215601701db5db0 /libs | |
parent | 79f66a36b45cc3fbe0218b8af9377377332968d6 (diff) |
Refuse more configs with unmatched midi in if !imprecise
Since MIDI in should be
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/luaproc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc index 46fc0aef2f..c8e088af55 100644 --- a/libs/ardour/luaproc.cc +++ b/libs/ardour/luaproc.cc @@ -439,7 +439,7 @@ LuaProc::can_support_io_configuration (const ChanCount& in, ChanCount& out, Chan int possible_midiin = _has_midi_input ? 1 : 0; int possible_midiout = _has_midi_output ? 1 : 0; - if (midi_in > 0 && possible_midiin == 0 && !imprecise) { + if (midi_in != possible_midiin && !imprecise) { continue; } |