summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-06-23 22:16:28 +0000
committerDavid Robillard <d@drobilla.net>2008-06-23 22:16:28 +0000
commitf9cec1b1ff4f250f158d09e9b6f1abeb8d8eb907 (patch)
tree844db8f20c427bef1bf14b88e2e6a399cdd161a9 /src/libs
parent5c2d42117e5ca23b740bd8a9ac02b6b8ad97b82e (diff)
downloadingen-f9cec1b1ff4f250f158d09e9b6f1abeb8d8eb907.tar.gz
ingen-f9cec1b1ff4f250f158d09e9b6f1abeb8d8eb907.tar.bz2
ingen-f9cec1b1ff4f250f158d09e9b6f1abeb8d8eb907.zip
Twiddle port layout decision to work better with klaviatur.
git-svn-id: http://svn.drobilla.net/lad/ingen@1277 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/engine/QueuedEventSource.hpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/libs/engine/QueuedEventSource.hpp b/src/libs/engine/QueuedEventSource.hpp
index df3c74a7..59e10b1e 100644
--- a/src/libs/engine/QueuedEventSource.hpp
+++ b/src/libs/engine/QueuedEventSource.hpp
@@ -57,11 +57,8 @@ public:
void unblock();
protected:
- void push_queued(QueuedEvent* const ev);
- inline void push_stamped(Event* const ev) {
- std::cerr << "[QueuedEventSource] Pushing stamped @ " << ev->time() << std::endl;
- _stamped_queue.push(ev); }
-
+ void push_queued(QueuedEvent* const ev);
+ inline void push_stamped(Event* const ev) { _stamped_queue.push(ev); }
Event* pop_earliest_queued_before(const SampleCount time);
inline Event* pop_earliest_stamped_before(const SampleCount time);
@@ -101,11 +98,7 @@ QueuedEventSource::pop_earliest_stamped_before(const SampleCount time)
if (!_stamped_queue.empty()) {
if (_stamped_queue.front()->time() < time) {
ret = _stamped_queue.front();
- std::cerr << "[QueuedEventSource] Popping event @ " << _stamped_queue.front()->time() << std::endl;
_stamped_queue.pop();
- } else {
- std::cerr << "[QueuedEventSource] Next event is past " << time
- << " (@ " << _stamped_queue.front()->time() << ")" << std::endl;
}
}