13
0
This commit is contained in:
Robin Gareus 2016-04-13 20:31:14 +02:00
parent ab6d93bf59
commit 868ed41d09

View File

@ -2776,7 +2776,7 @@ AUPluginInfo::discover_by_description (PluginInfoList& plugs, CAComponentDescrip
info->n_inputs.set (DataType::AUDIO, 1);
}
info->n_inputs.set (DataType::MIDI, has_midi_in ? 1 ; 0);
info->n_inputs.set (DataType::MIDI, has_midi_in ? 1 : 0);
if (possible_out > 0) {
info->n_outputs.set (DataType::AUDIO, possible_out);