From 841825844f9b2f4eae069d0aad064e4046e15471 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 May 2012 01:09:08 +0000 Subject: Real-time safe LV2 message handling. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4402 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/EngineBase.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ingen') 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. -- cgit v1.2.1