mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
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:
parent
ae599f0a79
commit
eb7a364628
1 changed files with 0 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue