aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-12-07 04:24:45 +0000
committerDavid Robillard <d@drobilla.net>2007-12-07 04:24:45 +0000
commit63afdfa494aa221eeba8965d233119931c177db8 (patch)
treee6b84fd8a3119e9fe062ff9895292c63c065a082 /src/engine/machina
parentffb37e6de2934aa227c3483f8a00118e3604b5e5 (diff)
downloadmachina-63afdfa494aa221eeba8965d233119931c177db8.tar.gz
machina-63afdfa494aa221eeba8965d233119931c177db8.tar.bz2
machina-63afdfa494aa221eeba8965d233119931c177db8.zip
Less console output.
git-svn-id: http://svn.drobilla.net/lad/machina@959 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/machina')
-rw-r--r--src/engine/machina/Problem.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/machina/Problem.hpp b/src/engine/machina/Problem.hpp
index abfc534..96ecb39 100644
--- a/src/engine/machina/Problem.hpp
+++ b/src/engine/machina/Problem.hpp
@@ -40,7 +40,7 @@ public:
private:
struct Evaluator : public Raul::MIDISink {
- Evaluator(const Problem& problem) : _problem(problem), _n_notes(0) {
+ Evaluator(const Problem& problem) : _problem(problem), _n_notes(0), _length(0) {
for (uint8_t i=0; i < 128; ++i)
_note_frequency[i] = 0;
}
@@ -52,6 +52,7 @@ private:
float _note_frequency[128];
size_t _n_notes;
+ double _length;
};
Evaluator _target;