diff options
author | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-07-31 10:43:58 +0200 |
---|---|---|
committer | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-08-01 09:46:20 +0200 |
commit | eb7a3646289281e8f7342b2de65cd7d8e38d0833 (patch) | |
tree | 0bd8a0486ba324ba1ce0a9c47888d6d395bee417 /libs/ardour/luaproc.cc | |
parent | ae599f0a7999c0f0bb63668595b63e0474245527 (diff) |
Remove duplicate setters that don't affect the outcome
There is no code that read the set value in between the removed line and
its exact counterpart below. There is no similar duplicate in the
AudioUnit code due to the way AudioUnit handles midi.
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r-- | libs/ardour/luaproc.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc index 48daf8cede..b393a2e00d 100644 --- a/libs/ardour/luaproc.cc +++ b/libs/ardour/luaproc.cc @@ -558,7 +558,6 @@ LuaProc::can_support_io_configuration (const ChanCount& in, ChanCount& out, Chan if (found && imprecise) { *imprecise = in; - imprecise->set (DataType::MIDI, _has_midi_input ? 1 : 0); } if (!found && imprecise) { @@ -658,7 +657,6 @@ LuaProc::configure_io (ChanCount in, ChanCount out) lin.set (DataType::MIDI, c); } } - _info->n_inputs = lin; if (io["midi_out"].type() == LUA_TNUMBER) { const int c = io["midi_out"].cast<int> (); if (c >= 0) { |