summaryrefslogtreecommitdiff
path: root/libs/ardour/delivery.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/delivery.cc')
-rw-r--r--libs/ardour/delivery.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc
index 82e025845e..4a392a8145 100644
--- a/libs/ardour/delivery.cc
+++ b/libs/ardour/delivery.cc
@@ -397,8 +397,7 @@ Delivery::reset_panner ()
if (panners_legal) {
if (!_no_panner_reset) {
- if (_panshell) {
- assert (_role == Main || _role == Aux || _role == Send || _role == Listen);
+ if (_panshell && _role != Insert) {
_panshell->configure_io (ChanCount (DataType::AUDIO, pans_required()), ChanCount (DataType::AUDIO, pan_outs()));
}
}
@@ -412,8 +411,7 @@ Delivery::reset_panner ()
void
Delivery::panners_became_legal ()
{
- if (_panshell) {
- assert (_role == Main || _role == Aux || _role == Send || _role == Listen);
+ if (_panshell && _role != Insert) {
_panshell->configure_io (ChanCount (DataType::AUDIO, pans_required()), ChanCount (DataType::AUDIO, pan_outs()));
}