summaryrefslogtreecommitdiffstats
path: root/src/engine/QueuedEventSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/QueuedEventSource.cpp')
-rw-r--r--src/engine/QueuedEventSource.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/QueuedEventSource.cpp b/src/engine/QueuedEventSource.cpp
index af9b270e..bf7cbf53 100644
--- a/src/engine/QueuedEventSource.cpp
+++ b/src/engine/QueuedEventSource.cpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -66,7 +66,7 @@ void
QueuedEventSource::process(PostProcessor& dest, ProcessContext& context)
{
assert(ThreadManager::current_thread_id() == THREAD_PROCESS);
-
+
if (_events.empty())
return;
@@ -75,7 +75,7 @@ QueuedEventSource::process(PostProcessor& dest, ProcessContext& context)
* choked by events coming in faster than they can be processed.
* FIXME: test this and figure out a good value */
const size_t MAX_QUEUED_EVENTS = context.nframes() / 32;
-
+
size_t num_events_processed = 0;
QueuedEvent* ev = (QueuedEvent*)_events.front();
@@ -112,7 +112,7 @@ QueuedEventSource::_whipped()
assert(ev);
if (!ev)
return;
-
+
assert(!ev->is_prepared());
ev->pre_process();
assert(ev->is_prepared());