From 2dbd0cd81dff72aea42344188d20f7d7f6d20e1a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 18 Jul 2006 05:46:24 +0000 Subject: Removed globals (Om.h) git-svn-id: http://svn.drobilla.net/lad/ingen@96 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/Event.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libs/engine/Event.h') diff --git a/src/libs/engine/Event.h b/src/libs/engine/Event.h index b394e797..f726339d 100644 --- a/src/libs/engine/Event.h +++ b/src/libs/engine/Event.h @@ -44,27 +44,27 @@ public: virtual ~Event() {} /** Execute this event in the audio thread (MUST be realtime safe). */ - virtual void execute(samplecount offset) { assert(!_executed); _executed = true; } + virtual void execute(SampleCount offset) { assert(!_executed); _executed = true; } /** Perform any actions after execution (ie send replies to commands) * (no realtime requirements). */ virtual void post_process() {} - inline samplecount time_stamp() { return _time_stamp; } + inline SampleCount time_stamp() { return _time_stamp; } protected: // Prevent copies Event(const Event&); Event& operator=(const Event&); - Event(CountedPtr responder, samplecount timestamp) + Event(CountedPtr responder, SampleCount timestamp) : _responder(responder) , _time_stamp(timestamp) , _executed(false) {} CountedPtr _responder; - samplecount _time_stamp; + SampleCount _time_stamp; bool _executed; }; -- cgit v1.2.1