summaryrefslogtreecommitdiff
path: root/libs/ardour/luaproc.cc
diff options
context:
space:
mode:
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2016-08-01 14:35:06 +0200
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2016-08-06 19:38:09 +0200
commitdde13d288e22ba5dd8e23802c47fac288b089c57 (patch)
tree3f41919fe5f63258d586a345b395ec9eebc56b42 /libs/ardour/luaproc.cc
parentb6c3e5537269e53bb145300e7724e8b89dfb74d6 (diff)
Remove wrong asserts
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r--libs/ardour/luaproc.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc
index 39b45b416c..6be2edafa5 100644
--- 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) {