mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
AU: discard relationship with master-bus channel count.
This commit is contained in:
parent
ea0b1e704f
commit
0e3991e828
1 changed files with 6 additions and 15 deletions
|
|
@ -1279,20 +1279,11 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out)
|
|||
found = true;
|
||||
} else if (possible_out < -2) {
|
||||
/* explicitly variable number of outputs.
|
||||
|
||||
Since Ardour can handle any configuration,
|
||||
we have to somehow pick a number.
|
||||
|
||||
We'll use the number of inputs
|
||||
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;
|
||||
}
|
||||
*
|
||||
* We really need to ask the user in this case.
|
||||
* stereo will be correct in 99.9% of all cases.
|
||||
*/
|
||||
audio_out = 2;
|
||||
found = true;
|
||||
} else {
|
||||
/* exact number of outputs */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue