From: Julien "_FrnchFrgg_" RIVAUD Date: Mon, 1 Aug 2016 11:24:08 +0000 (+0200) Subject: LuaProc::can_support_io_configuration: don't mix int and int32_t X-Git-Tag: 5.0-rc2~44 X-Git-Url: https://main.carlh.net/gitweb/?p=ardour.git;a=commitdiff_plain;h=b6c3e5537269e53bb145300e7724e8b89dfb74d6 LuaProc::can_support_io_configuration: don't mix int and int32_t --- diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc index af5534e21a..39b45b416c 100644 --- a/libs/ardour/luaproc.cc +++ b/libs/ardour/luaproc.cc @@ -380,8 +380,8 @@ LuaProc::can_support_io_configuration (const ChanCount& in, ChanCount& out, Chan bool found = false; bool exact_match = false; - const int32_t audio_in = in.n_audio (); - int32_t midi_out = _has_midi_output ? 1 : 0; + const int audio_in = in.n_audio (); + int midi_out = _has_midi_output ? 1 : 0; // preferred setting (provided by plugin_insert) assert (out.n_audio () > 0 || midi_out > 0); @@ -406,7 +406,7 @@ LuaProc::can_support_io_configuration (const ChanCount& in, ChanCount& out, Chan } /* now allow potentially "imprecise" matches */ - int32_t audio_out = -1; + int audio_out = -1; float penalty = 9999; #define FOUNDCFG(nch) { \