re-allow panners for monitoring-section (for now)
authorRobin Gareus <robin@gareus.org>
Wed, 15 Jan 2014 09:37:25 +0000 (10:37 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 15 Jan 2014 09:37:25 +0000 (10:37 +0100)
libs/ardour/delivery.cc

index 045417b0ccc20b2716854ae38bff6d541048664c..82e025845ecb86ea23519793344df870a38c1b37 100644 (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()));
        }