Enable fan-out by default

When adding a new multi-channel instrument, assume the
user wants to pan the outputs independently.
This commit is contained in:
Robin Gareus 2019-11-02 16:33:14 +01:00
parent e0493814ec
commit 8b3dd2bed2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -95,13 +95,14 @@ PluginSetupDialog::PluginSetupDialog (boost::shared_ptr<ARDOUR::Route> r, boost:
f->add (*box);
tbl->attach (*f, 1, 2, row, row + 1, EXPAND|FILL, SHRINK, 0, 8);
_fan_out.signal_clicked.connect (sigc::mem_fun (*this, &PluginSetupDialog::toggle_fan_out));
_fan_out.set_active (true);
} else {
_pi->set_preset_out (_pi->natural_output_streams ());
update_sensitivity (_pi->natural_output_streams ().n_audio ());
_fan_out.set_active (false);
}
_keep_mapping.set_active (false);
_fan_out.set_active (false);
apply_mapping ();
add_button (Stock::ADD, 0);