From 5dc6649496e938b32a5fe9f341de6cce962d3731 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 14 Jul 2006 22:24:00 +0000 Subject: Enforced OSC path restrictions on Path for spec conformance (since GraphObject paths will soon be part of OSC paths) git-svn-id: http://svn.drobilla.net/lad/ingen@88 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/EventSource.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/libs/engine/EventSource.h') diff --git a/src/libs/engine/EventSource.h b/src/libs/engine/EventSource.h index 273100b7..6c52eb11 100644 --- a/src/libs/engine/EventSource.h +++ b/src/libs/engine/EventSource.h @@ -28,6 +28,12 @@ class QueuedEvent; * The AudioDriver gets events from an EventSource in the process callback * (realtime audio thread) and executes them, then they are sent to the * PostProcessor and finalised (post-processing thread). + * + * There are two distinct classes of events - "queued" and "stamped". Queued + * events are events that require non-realtime pre-processing before being + * executed in the process thread. Stamped events are timestamped realtime + * events that require no pre-processing and can be executed immediately + * (with sample accuracy). */ class EventSource { @@ -35,11 +41,9 @@ public: virtual ~EventSource() {} - virtual Event* pop_earliest_before(const samplecount time) = 0; - - virtual void start() = 0; + virtual Event* pop_earliest_queued_before(const samplecount time) = 0; - virtual void stop() = 0; + virtual Event* pop_earliest_stamped_before(const samplecount time) = 0; protected: EventSource() {} -- cgit v1.2.1