summaryrefslogtreecommitdiff
path: root/libs/ardour/delivery.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-01-15 17:59:16 +0100
committerRobin Gareus <robin@gareus.org>2014-01-15 17:59:16 +0100
commitf9a5f8700332e71e9647a83626e5a37409d6e2a8 (patch)
tree623fb9fe07796429a67be6c511139be90f0b040f /libs/ardour/delivery.cc
parentb06fa27ccb06f4c5430acab3feaea656891beaae (diff)
don't pan send/return inserts
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()));
}