diff options
Diffstat (limited to 'libs/ardour/quantize.cc')
-rw-r--r-- | libs/ardour/quantize.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/quantize.cc b/libs/ardour/quantize.cc index b60b63dcf4..27e40ae8f7 100644 --- a/libs/ardour/quantize.cc +++ b/libs/ardour/quantize.cc @@ -111,8 +111,8 @@ swing_position (double pos, double grid, double swing, double offset) Command* Quantize::operator () (boost::shared_ptr<MidiModel> model, - Evoral::Beats position, - std::vector<Evoral::Sequence<Evoral::Beats>::Notes>& seqs) + Temporal::Beats position, + std::vector<Evoral::Sequence<Temporal::Beats>::Notes>& seqs) { /* TODO: Rewrite this to be precise with fixed point? */ @@ -125,7 +125,7 @@ Quantize::operator () (boost::shared_ptr<MidiModel> model, MidiModel::NoteDiffCommand* cmd = new MidiModel::NoteDiffCommand (model, "quantize"); - for (std::vector<Evoral::Sequence<Evoral::Beats>::Notes>::iterator s = seqs.begin(); s != seqs.end(); ++s) { + for (std::vector<Evoral::Sequence<Temporal::Beats>::Notes>::iterator s = seqs.begin(); s != seqs.end(); ++s) { for (Evoral::Sequence<MidiModel::TimeType>::Notes::iterator i = (*s).begin(); i != (*s).end(); ++i) { @@ -167,10 +167,10 @@ Quantize::operator () (boost::shared_ptr<MidiModel> model, delta = new_end - (*i)->end_time().to_double(); if (fabs (delta) >= _threshold) { - Evoral::Beats new_dur(new_end - new_start); + Temporal::Beats new_dur(new_end - new_start); if (!new_dur) { - new_dur = Evoral::Beats(_end_grid); + new_dur = Temporal::Beats(_end_grid); } cmd->change ((*i), MidiModel::NoteDiffCommand::Length, new_dur); |