summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-14 01:09:08 +0000
committerDavid Robillard <d@drobilla.net>2012-05-14 01:09:08 +0000
commit841825844f9b2f4eae069d0aad064e4046e15471 (patch)
tree8a31a4456bab8ca06f757f0524bf5adacbe2aaa1 /ingen
parentffa63b0c1e769fae0af5e2bbbd822d1e8b206535 (diff)
downloadingen-841825844f9b2f4eae069d0aad064e4046e15471.tar.gz
ingen-841825844f9b2f4eae069d0aad064e4046e15471.tar.bz2
ingen-841825844f9b2f4eae069d0aad064e4046e15471.zip
Real-time safe LV2 message handling.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4402 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen')
-rw-r--r--ingen/EngineBase.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/ingen/EngineBase.hpp b/ingen/EngineBase.hpp
index 6bcb7170..c9acb512 100644
--- a/ingen/EngineBase.hpp
+++ b/ingen/EngineBase.hpp
@@ -48,8 +48,14 @@ public:
/**
Process audio for @p sample_count frames.
+
+ If the return value is non-zero, events have been processed and are
+ awaiting to be finalised (including responding and announcing any changes
+ to clients) via a call to main_iteration().
+
+ @return The number of events processed.
*/
- virtual void run(uint32_t sample_count) = 0;
+ virtual unsigned run(uint32_t sample_count) = 0;
/**
Indicate that a quit is desired.