From dde13d288e22ba5dd8e23802c47fac288b089c57 Mon Sep 17 00:00:00 2001 From: "Julien \"_FrnchFrgg_\" RIVAUD" Date: Mon, 1 Aug 2016 14:35:06 +0200 Subject: [PATCH] Remove wrong asserts --- libs/ardour/luaproc.cc | 2 -- 1 file changed, 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) {