diff options
author | David Robillard <d@drobilla.net> | 2006-07-18 05:46:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-07-18 05:46:24 +0000 |
commit | 2dbd0cd81dff72aea42344188d20f7d7f6d20e1a (patch) | |
tree | a3af76b4164c75b19d3973c88b05591be9e9d67d /src/libs/engine/Event.h | |
parent | 1d81360a04e0e5c0a57b8be1708e29a3f2bde848 (diff) | |
download | ingen-2dbd0cd81dff72aea42344188d20f7d7f6d20e1a.tar.gz ingen-2dbd0cd81dff72aea42344188d20f7d7f6d20e1a.tar.bz2 ingen-2dbd0cd81dff72aea42344188d20f7d7f6d20e1a.zip |
Removed globals (Om.h)
git-svn-id: http://svn.drobilla.net/lad/ingen@96 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Event.h')
-rw-r--r-- | src/libs/engine/Event.h | 8 |
1 files changed, 4 insertions, 4 deletions
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> responder, samplecount timestamp) + Event(CountedPtr<Responder> responder, SampleCount timestamp) : _responder(responder) , _time_stamp(timestamp) , _executed(false) {} CountedPtr<Responder> _responder; - samplecount _time_stamp; + SampleCount _time_stamp; bool _executed; }; |