diff options
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/Engine.cpp | 2 | ||||
-rw-r--r-- | src/server/Engine.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp index 5f5c53d0..2fa079f1 100644 --- a/src/server/Engine.cpp +++ b/src/server/Engine.cpp @@ -493,7 +493,7 @@ Engine::run(uint32_t sample_count) } bool -Engine::pending_events() +Engine::pending_events() const { return !_pre_processor->empty() || _post_processor->pending(); } diff --git a/src/server/Engine.hpp b/src/server/Engine.hpp index ab69586c..f951eaf3 100644 --- a/src/server/Engine.hpp +++ b/src/server/Engine.hpp @@ -79,7 +79,7 @@ public: virtual void init(double sample_rate, uint32_t block_length, size_t seq_size); virtual bool activate(); virtual void deactivate(); - virtual bool pending_events(); + virtual bool pending_events() const; virtual unsigned run(uint32_t sample_count); virtual void quit(); virtual bool main_iteration(); |