diff options
Diffstat (limited to 'src/server/EventWriter.cpp')
-rw-r--r-- | src/server/EventWriter.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/server/EventWriter.cpp b/src/server/EventWriter.cpp index 6fb682c2..33462c1c 100644 --- a/src/server/EventWriter.cpp +++ b/src/server/EventWriter.cpp @@ -46,12 +46,7 @@ EventWriter::~EventWriter() SampleCount EventWriter::now() const { - /* Exactly one cycle latency (some could run ASAP if we get lucky, but not - always, and a slight constant latency is far better than jittery lower - (average) latency */ - return (_engine.driver()) - ? _engine.driver()->frame_time() + _engine.driver()->block_length() - : 0; + return _engine.event_time(); } void |