projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6c3e55
)
Remove wrong asserts
author
Julien "_FrnchFrgg_" RIVAUD
<frnchfrgg@free.fr>
Mon, 1 Aug 2016 12:35:06 +0000
(14:35 +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 39b45b416c6d98f0f4d59aa3a6bd488f367fca03..6be2edafa562b32ef2fc1f3e9e275056c136ba07 100644
(file)
--- a/
libs/ardour/luaproc.cc
+++ b/
libs/ardour/luaproc.cc
@@
-384,7
+384,6
@@
LuaProc::can_support_io_configuration (const ChanCount& in, ChanCount& out, Chan
int midi_out = _has_midi_output ? 1 : 0;
// preferred setting (provided by plugin_insert)
- assert (out.n_audio () > 0 || midi_out > 0);
const int preferred_out = out.n_audio ();
for (luabridge::Iterator i (iotable); !i.isNil (); ++i) {
@@
-585,7
+584,6
@@
LuaProc::can_support_io_configuration (const ChanCount& in, ChanCount& out, Chan
}
assert (possible_in > 0); // all other cases will have been matched above
- assert (possible_out !=0 || possible_in !=0); // already handled above
imprecise->set (DataType::AUDIO, possible_in);
if (possible_out == -1 || possible_out == -2) {