triggerbox: only require a MIDI output if the data type is MIDI
This was a thinko that occured when I added the sidechain for audio tracks to handle trigger input
This commit is contained in:
@@ -1760,7 +1760,7 @@ bool
|
||||
TriggerBox::can_support_io_configuration (const ChanCount& in, ChanCount& out)
|
||||
{
|
||||
out.set_audio (std::max (out.n_audio(), 2U)); /* for now, enforce stereo output */
|
||||
if (_sidechain) {
|
||||
if (_data_type == DataType::MIDI) {
|
||||
out.set_midi (std::max (out.n_midi(), 1U));
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user