no-read-past-end for destructive crossfade as well; cleanup xfade coefficient arrays...
[ardour.git] / libs / ardour / io.cc
index dff0990f1a2313c2a061f0522fa463da0098c72d..91cbb1cb67e1cf90923c4d8581bcfd7e8c72dbd6 100644 (file)
@@ -368,7 +368,7 @@ IO::deliver_output (vector<Sample *>& bufs, uint32_t nbufs, jack_nframes_t nfram
                return;
        }
        
-       if (_panner->bypassed()) {
+       if (_panner->bypassed() || _panner->empty()) {
                deliver_output_no_pan (bufs, nbufs, nframes, offset);
                return;
        }