13
0

Mixbus prefers stereo-tracks when importing files as triggers

This commit is contained in:
Robin Gareus 2022-01-24 18:52:51 +01:00
parent 1c5cfdad82
commit 9b224a79d4
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -963,6 +963,13 @@ Editor::add_sources (vector<string> paths,
} }
} }
#ifdef MIXBUS
if (mode == ImportAsTrigger) {
/* Mixbus will only ever use stereo tracks when using DnD to import to triggers */
input_chan = 2;
}
#endif
if (Config->get_output_auto_connect() & AutoConnectMaster) { if (Config->get_output_auto_connect() & AutoConnectMaster) {
output_chan = (_session->master_out() ? _session->master_out()->n_inputs().n_audio() : input_chan); output_chan = (_session->master_out() ? _session->master_out()->n_inputs().n_audio() : input_chan);
} else { } else {