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.
This commit is contained in:
Julien "_FrnchFrgg_" RIVAUD 2016-07-31 10:43:58 +02:00
parent ae599f0a79
commit eb7a364628

View file

@ -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) {