X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Flegatize.cc;h=cd45d430f3cd255a2c1ef583b577e3baeb16ea1d;hb=e02952a26c28876ea81440ee98e46f28483b91d6;hp=0c118a6a48fcb136466bd14df1a2f4fd7fbd49eb;hpb=ced4378d0914bcfb926267772c45d1d23f3bed38;p=ardour.git diff --git a/libs/ardour/legatize.cc b/libs/ardour/legatize.cc index 0c118a6a48..cd45d430f3 100644 --- a/libs/ardour/legatize.cc +++ b/libs/ardour/legatize.cc @@ -31,10 +31,10 @@ Legatize::~Legatize () Command* Legatize::operator()(boost::shared_ptr model, - Evoral::Beats position, + Temporal::Beats position, std::vector& seqs) { - MidiModel::NoteDiffCommand* cmd = new MidiModel::NoteDiffCommand(model, "legatize"); + MidiModel::NoteDiffCommand* cmd = new MidiModel::NoteDiffCommand(model, name ()); for (std::vector::iterator s = seqs.begin(); s != seqs.end(); ++s) { for (Legatize::Notes::iterator i = (*s).begin(); i != (*s).end();) { @@ -43,10 +43,10 @@ Legatize::operator()(boost::shared_ptr model, break; } - const Evoral::Beats new_end = (*next)->time() - Evoral::Beats::tick(); + const Temporal::Beats new_end = (*next)->time() - Temporal::Beats::tick(); if ((*i)->end_time() > new_end || (!_shrink_only && (*i)->end_time() < new_end)) { - const Evoral::Beats new_length(new_end - (*i)->time()); + const Temporal::Beats new_length(new_end - (*i)->time()); cmd->change((*i), MidiModel::NoteDiffCommand::Length, new_length); }