From e14187aadd574d46c82d8eb0d151b526b84ddcc7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Sep 2008 16:17:02 +0000 Subject: Display recorded controller data (fix show all/existing automation). git-svn-id: svn://localhost/ardour2/branches/3.0@3779 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/quantize.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/ardour/quantize.cc') diff --git a/libs/ardour/quantize.cc b/libs/ardour/quantize.cc index ccbda9711a..ff8925edd9 100644 --- a/libs/ardour/quantize.cc +++ b/libs/ardour/quantize.cc @@ -69,7 +69,8 @@ Quantize::run (boost::shared_ptr r) double q_frames = _q * (m.frames_per_bar(t, session.frame_rate()) / (double)m.beats_per_bar()); - for (MidiModel::Notes::iterator i = model->notes().begin(); i != model->notes().end(); ++i) { + for (Evoral::Sequence::Notes::iterator i = model->notes().begin(); + i != model->notes().end(); ++i) { const double new_time = lrint((*i)->time() / q_frames) * q_frames; double new_dur = lrint((*i)->duration() / q_frames) * q_frames; if (new_dur == 0.0) -- cgit v1.2.3