aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/MachineBuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/MachineBuilder.cpp')
-rw-r--r--src/engine/MachineBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/MachineBuilder.cpp b/src/engine/MachineBuilder.cpp
index 4f4d599..0460299 100644
--- a/src/engine/MachineBuilder.cpp
+++ b/src/engine/MachineBuilder.cpp
@@ -27,7 +27,7 @@
#include "MachineBuilder.hpp"
#include "MidiAction.hpp"
#include "Node.hpp"
-#include "Quantizer.hpp"
+#include "quantize.hpp"
using namespace std;
using namespace Raul;
@@ -70,7 +70,7 @@ MachineBuilder::set_node_duration(SharedPtr<Node> node, Raul::TimeDuration d) co
return;
}
- Raul::TimeStamp q_dur = Quantizer::quantize(TimeStamp(d.unit(), _quantization), d);
+ Raul::TimeStamp q_dur = quantize(TimeStamp(d.unit(), _quantization), d);
// Never quantize a note to duration 0
if (q_dur.is_zero() && ( node->enter_action() || node->exit_action() ))