projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19b82b8
)
Rearrange condition for pure midi plugins
author
Julien "_FrnchFrgg_" RIVAUD
<frnchfrgg@free.fr>
Wed, 3 Aug 2016 10:08:01 +0000
(12:08 +0200)
committer
Julien "_FrnchFrgg_" RIVAUD
<frnchfrgg@free.fr>
Sat, 6 Aug 2016 17:38:09 +0000
(19:38 +0200)
libs/ardour/luaproc.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/luaproc.cc
b/libs/ardour/luaproc.cc
index e9a188c82ce84481711d00d6b222cb72fae21b63..35f43b5dc10d41f949a6983ef0172b6ef4be7ce0 100644
(file)
--- a/
libs/ardour/luaproc.cc
+++ b/
libs/ardour/luaproc.cc
@@
-447,9
+447,10
@@
LuaProc::can_support_io_configuration (const ChanCount& in, ChanCount& out, Chan
// "imprecise" matches
if (possible_out == 0) {
- if (possible_in == 0) {
- if (_has_midi_output && audio_in == 0) {
- // special case midi filters & generators
+ /* skip configurations with no audio output, unless
+ * the plugin is a midi filter or generator */
+ if (possible_in == 0 && _has_midi_output) {
+ if (audio_in == 0) {
FOUNDCFG(possible_out);
break;
}