re-allow panners for monitoring-section (for now)

This commit is contained in:
Robin Gareus 2014-01-15 10:37:25 +01:00
parent a4dc05f603
commit d27d6e673f

View File

@ -398,7 +398,7 @@ Delivery::reset_panner ()
if (!_no_panner_reset) {
if (_panshell) {
assert (_role == Main || _role == Aux || _role == Send);
assert (_role == Main || _role == Aux || _role == Send || _role == Listen);
_panshell->configure_io (ChanCount (DataType::AUDIO, pans_required()), ChanCount (DataType::AUDIO, pan_outs()));
}
}
@ -413,7 +413,7 @@ void
Delivery::panners_became_legal ()
{
if (_panshell) {
assert (_role == Main || _role == Aux || _role == Send);
assert (_role == Main || _role == Aux || _role == Send || _role == Listen);
_panshell->configure_io (ChanCount (DataType::AUDIO, pans_required()), ChanCount (DataType::AUDIO, pan_outs()));
}