Deliveries support mismatched chan-counts
This issue was introduced in f3423b8a77
, which assumed that
number of input channels matches the number of outputs.
With flexible I/O this is not necessarily the case.
This fixes #9106, along with the previous commit.
This commit is contained in:
parent
4448b3a2a9
commit
82512422a7
@ -192,7 +192,7 @@ Delivery::set_gain_control (boost::shared_ptr<GainControl> gc) {
|
||||
if (gc) {
|
||||
_gain_control = gc;
|
||||
_amp.reset (new Amp (_session, _("Fader"), _gain_control, true));
|
||||
_amp->configure_io (_configured_input, _configured_output);
|
||||
_amp->configure_io (_configured_output, _configured_output);
|
||||
} else {
|
||||
_amp.reset ();
|
||||
_gain_control = gc;
|
||||
@ -246,7 +246,7 @@ Delivery::configure_io (ChanCount in, ChanCount out)
|
||||
reset_panner ();
|
||||
|
||||
if (_amp) {
|
||||
return _amp->configure_io (in, out);
|
||||
return _amp->configure_io (out, out);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user