From c7c29dfbbd6b237aada410ed36d5dcaaed8efbc8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 18 Sep 2007 00:59:38 +0000 Subject: 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 --- src/libs/engine/ProcessSlave.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/libs/engine/ProcessSlave.cpp') 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; } -- cgit v1.2.1