projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a992ac0
)
LuaProc::can_support_io_configuration: don't mix int and int32_t
author
Julien "_FrnchFrgg_" RIVAUD
<frnchfrgg@free.fr>
Mon, 1 Aug 2016 11:24:08 +0000
(13:24 +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 af5534e21ab71fba84e2ccd8eb70811bd67a363f..39b45b416c6d98f0f4d59aa3a6bd488f367fca03 100644
(file)
--- 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 int
32_t
audio_in = in.n_audio ();
- int
32_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 */
- int
32_t
audio_out = -1;
+ int audio_out = -1;
float penalty = 9999;
#define FOUNDCFG(nch) { \