aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/SMFDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SMFDriver.cpp')
-rw-r--r--src/engine/SMFDriver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SMFDriver.cpp b/src/engine/SMFDriver.cpp
index e3e95b8..000ce0e 100644
--- a/src/engine/SMFDriver.cpp
+++ b/src/engine/SMFDriver.cpp
@@ -25,10 +25,10 @@
#include "machina/Machine.hpp"
#include "Edge.hpp"
-#include "Quantizer.hpp"
#include "SMFDriver.hpp"
#include "SMFReader.hpp"
#include "SMFWriter.hpp"
+#include "quantize.hpp"
using namespace std;
@@ -122,7 +122,7 @@ SMFDriver::learn_track(SharedPtr<MachineBuilder> builder,
while (reader.read_event(4, buf, &ev_size, &ev_delta_time) >= 0) {
unquantized_t += ev_delta_time;
- t = Quantizer::quantize(q, unquantized_t);
+ t = quantize(q, unquantized_t);
builder->set_time(TimeStamp(max_duration.unit(), (double)t));