diff options
author | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-08-01 13:24:08 +0200 |
---|---|---|
committer | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-08-06 19:38:09 +0200 |
commit | b6c3e5537269e53bb145300e7724e8b89dfb74d6 (patch) | |
tree | 3ccd4b6cf1cf24806c076b095433d658a87df3c3 /libs | |
parent | a992ac0b752e837ef6cf14f0bf24ba6b894ef48e (diff) |
LuaProc::can_support_io_configuration: don't mix int and int32_t
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/luaproc.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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) { \ |