summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/ProcessSlave.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-18 00:59:38 +0000
committerDavid Robillard <d@drobilla.net>2007-09-18 00:59:38 +0000
commitc7c29dfbbd6b237aada410ed36d5dcaaed8efbc8 (patch)
tree56af8996e3f98954433929c9465a885f905e3b72 /src/libs/engine/ProcessSlave.cpp
parent89f56f276b9dc16fec03725f73f7df12260cd246 (diff)
downloadingen-c7c29dfbbd6b237aada410ed36d5dcaaed8efbc8.tar.gz
ingen-c7c29dfbbd6b237aada410ed36d5dcaaed8efbc8.tar.bz2
ingen-c7c29dfbbd6b237aada410ed36d5dcaaed8efbc8.zip
Fix MIDI buffer reading error, fixes reading of multiple MIDI events per cycle (including stuck notes, fixes ticket 86).
git-svn-id: http://svn.drobilla.net/lad/ingen@717 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/ProcessSlave.cpp')
-rw-r--r--src/libs/engine/ProcessSlave.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libs/engine/ProcessSlave.cpp b/src/libs/engine/ProcessSlave.cpp
index fba09da4..749f6a5c 100644
--- a/src/libs/engine/ProcessSlave.cpp
+++ b/src/libs/engine/ProcessSlave.cpp
@@ -39,7 +39,6 @@ ProcessSlave::_whipped()
* and thus are finished this cycle.
*/
- //size_t run_count = 0;
size_t num_finished = 0; // Number of consecutive finished nodes hit
while (_state == STATE_RUNNING) {
@@ -50,17 +49,12 @@ ProcessSlave::_whipped()
n.node()->wait_for_input(n.n_providers());
- //cout << "************ Thread " << _id << " running "
- // << n.node()->path() << " at index " << _index << endl;
n.node()->process(_nframes, _start, _end);
- //cerr << n.node()->path() << " @ " << &n << " dependants: " << n.dependants().size() << endl;
-
/* Signal dependants their input is ready */
for (size_t i=0; i < n.dependants().size(); ++i)
n.dependants()[i]->signal_input_ready();
- //++run_count;
num_finished = 1;
} else {
++num_finished;
@@ -75,8 +69,6 @@ ProcessSlave::_whipped()
_index = 0;
_compiled_patch = NULL;
_state = STATE_FINISHED;
-
- //cout << "Thread " << _id << " ran \t" << run_count << " nodes this cycle." << endl;
}