Return silence from read_from_sources() if we try to read a channel that our source...
[ardour.git] / libs / ardour / panner_shell.cc
index ad2040792a4fba88afff645a62fbe52f2fb893c8..1aeb94eb7ee3cb050cefeee7410d09b991495312 100644 (file)
 #include "evoral/Curve.hpp"
 
 #include "ardour/audio_buffer.h"
-#include "ardour/audio_buffer.h"
-#include "ardour/automatable.h"
 #include "ardour/buffer_set.h"
 #include "ardour/debug.h"
-#include "ardour/pannable.h"
 #include "ardour/panner.h"
 #include "ardour/panner_manager.h"
 #include "ardour/panner_shell.h"
-#include "ardour/runtime_functions.h"
 #include "ardour/session.h"
 #include "ardour/speakers.h"
-#include "ardour/utils.h"
 
 #include "i18n.h"
 
@@ -274,7 +269,7 @@ PannerShell::run (BufferSet& inbufs, BufferSet& outbufs, framepos_t start_frame,
 {
        if (inbufs.count().n_audio() == 0) {
                /* Input has no audio buffers (e.g. Aux Send in a MIDI track at a
-                  point with no audio because there is no preceding instrument
+                  point with no audio because there is no preceding instrument)
                */
                outbufs.silence(nframes, 0);
                return;