diff options
author | David Robillard <d@drobilla.net> | 2007-10-05 19:41:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-05 19:41:24 +0000 |
commit | 9fe19152570b6388fc518bda6ccd422d14cff37a (patch) | |
tree | a29a7632dc3b43f439a558907b150a5a85740746 /src/libs/engine/QueuedEventSource.hpp | |
parent | 9d8f4248b0686b165c6ad0a4f6d653f4bf9cae3b (diff) | |
download | ingen-9fe19152570b6388fc518bda6ccd422d14cff37a.tar.gz ingen-9fe19152570b6388fc518bda6ccd422d14cff37a.tar.bz2 ingen-9fe19152570b6388fc518bda6ccd422d14cff37a.zip |
Fix OSC receiving thread chewing CPU (xrun problem on single core systems).
git-svn-id: http://svn.drobilla.net/lad/ingen@827 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/QueuedEventSource.hpp')
-rw-r--r-- | src/libs/engine/QueuedEventSource.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/QueuedEventSource.hpp b/src/libs/engine/QueuedEventSource.hpp index 4c212ee1..4c23f226 100644 --- a/src/libs/engine/QueuedEventSource.hpp +++ b/src/libs/engine/QueuedEventSource.hpp @@ -63,7 +63,7 @@ protected: Event* pop_earliest_queued_before(const SampleCount time); inline Event* pop_earliest_stamped_before(const SampleCount time); - bool unprepared_events() { return (_prepared_back != _back); } + inline bool unprepared_events() { return (_prepared_back != _back); } virtual void _whipped(); ///< Prepare 1 event |