more MTC stuff, including toggleable use of torben's PI controller
[ardour.git] / libs / ardour / ardour / processor.h
index 3ec4a9885d1bb675c6b50aba85dea0ee89e11b42..c57eb4354c3e310a647e9e8f011d64e7d13f5baa 100644 (file)
@@ -70,7 +70,10 @@ class Processor : public SessionObject, public AutomatableControls, public Laten
 
        virtual void set_block_size (nframes_t /*nframes*/) {}
 
-       virtual void run (BufferSet& /*bufs*/, sframes_t /*start_frame*/, sframes_t /*end_frame*/, nframes_t /*nframes*/) {}
+       /** @param result_required true if, on return from this method, bufs is required to contain valid data;
+        *  if false, the method need not bother writing to bufs if it doesn't want to.
+        */  
+       virtual void run (BufferSet& /*bufs*/, sframes_t /*start_frame*/, sframes_t /*end_frame*/, nframes_t /*nframes*/, bool /*result_required*/) {}
        virtual void silence (nframes_t /*nframes*/) {}
 
        virtual void activate ()   { _pending_active = true; ActiveChanged(); }