Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
382:9867f99e0bb7 | 385:9b35a1731c3d |
---|---|
84 virtual QString getPluginIdentifier() const = 0; | 84 virtual QString getPluginIdentifier() const = 0; |
85 | 85 |
86 /** | 86 /** |
87 * Run for one block, starting at the given time. The start time | 87 * Run for one block, starting at the given time. The start time |
88 * may be of interest to synths etc that may have queued events | 88 * may be of interest to synths etc that may have queued events |
89 * waiting. Other plugins can ignore it. | 89 * waiting. Other plugins can ignore it. The count, if zero, |
90 * defaults to our fixed buffer size. | |
90 */ | 91 */ |
91 virtual void run(const Vamp::RealTime &blockStartTime) = 0; | 92 virtual void run(const Vamp::RealTime &blockStartTime, |
93 size_t count = 0) = 0; | |
92 | 94 |
93 virtual size_t getBufferSize() const = 0; | 95 virtual size_t getBufferSize() const = 0; |
94 | 96 |
95 virtual size_t getAudioInputCount() const = 0; | 97 virtual size_t getAudioInputCount() const = 0; |
96 virtual size_t getAudioOutputCount() const = 0; | 98 virtual size_t getAudioOutputCount() const = 0; |