Call ARDOUR::cleanup at the end of libardour tests (from
[ardour.git] / libs / ardour / panner_shell.cc
index bffcb0cccb4cf2a31b449c0b89737013611422f6..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"
 
@@ -74,7 +69,7 @@ PannerShell::PannerShell (string name, Session& s, boost::shared_ptr<Pannable> p
 
 PannerShell::~PannerShell ()
 {
-       DEBUG_TRACE(DEBUG::Destruction, string_compose ("panner shell for %1 destructor, pannable is %2\n", _name, _pannable));
+       DEBUG_TRACE(DEBUG::Destruction, string_compose ("panner shell %3 for %1 destructor, panner is %4, pannable is %2\n", _name, _pannable, this, _panner));
 }
 
 void
@@ -118,7 +113,7 @@ PannerShell::configure_io (ChanCount in, ChanCount out)
        }
 
        Panner* p = pi->descriptor.factory (_pannable, speakers);
-       boost_debug_shared_ptr_mark_interesting (p, "Panner");
+       // boost_debug_shared_ptr_mark_interesting (p, "Panner");
        _panner.reset (p);
        _panner->configure_io (in, out);
 
@@ -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;