diff plugin/RealTimePluginInstance.h @ 385:9b35a1731c3d

* Tolerable fixes to #1903062 and #1903046
author Chris Cannam
date Wed, 27 Feb 2008 18:04:10 +0000
parents ca3b91119482
children a1b6d2e33cab
line wrap: on
line diff
--- a/plugin/RealTimePluginInstance.h	Fri Feb 15 15:15:29 2008 +0000
+++ b/plugin/RealTimePluginInstance.h	Wed Feb 27 18:04:10 2008 +0000
@@ -86,9 +86,11 @@
     /**
      * Run for one block, starting at the given time.  The start time
      * may be of interest to synths etc that may have queued events
-     * waiting.  Other plugins can ignore it.
+     * waiting.  Other plugins can ignore it.  The count, if zero,
+     * defaults to our fixed buffer size.
      */
-    virtual void run(const Vamp::RealTime &blockStartTime) = 0;
+    virtual void run(const Vamp::RealTime &blockStartTime,
+                     size_t count = 0) = 0;
     
     virtual size_t getBufferSize() const = 0;