From 4174fb8f94139e0a38da150ffb0874b636497dfe Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 15 Oct 2006 20:46:26 +0000 Subject: Fixed feedback problems (CPU chewing) with port controls. git-svn-id: http://svn.drobilla.net/lad/ingen@176 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/Responder.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/libs/engine/Responder.h') diff --git a/src/libs/engine/Responder.h b/src/libs/engine/Responder.h index acfa6beb..fad5c1a3 100644 --- a/src/libs/engine/Responder.h +++ b/src/libs/engine/Responder.h @@ -44,6 +44,11 @@ using Shared::ClientInterface; * ClientInterface and Responder are seperate because responding might not * actually get exposed to the client interface (eg in simulated blocking * interfaces that wait for responses before returning). + * + * Note for messages that have a "response" and some broadcasted effect + * (eg setting a port value) the "response" MUST be sent first since Responder + * is responsible for controlling whether the client wishes to receive the + * notification. */ class Responder { @@ -51,7 +56,7 @@ public: Responder() {} virtual ~Responder() {} - virtual ClientKey client_key() { return ClientKey(); } + virtual ClientKey client_key() { return ClientKey(); } virtual SharedPtr client() { return SharedPtr(); } virtual void set_id(int32_t id) {} -- cgit v1.2.1