AU: discard relationship with master-bus channel count.

This commit is contained in:
Robin Gareus 2015-08-08 01:43:57 +02:00
parent ea0b1e704f
commit 0e3991e828

View file

@ -1278,21 +1278,12 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out)
audio_out = 2; audio_out = 2;
found = true; found = true;
} else if (possible_out < -2) { } else if (possible_out < -2) {
/* explicitly variable number of outputs. /* explicitly variable number of outputs.
*
Since Ardour can handle any configuration, * We really need to ask the user in this case.
we have to somehow pick a number. * stereo will be correct in 99.9% of all cases.
*/
We'll use the number of inputs audio_out = 2;
to the master bus, or 2 if there
is no master bus.
*/
boost::shared_ptr<Route> master = _session.master_out();
if (master) {
audio_out = master->input()->n_ports().n_audio();
} else {
audio_out = 2;
}
found = true; found = true;
} else { } else {
/* exact number of outputs */ /* exact number of outputs */