summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-03-04 00:35:47 +0000
committerCarl Hetherington <carl@carlh.net>2011-03-04 00:35:47 +0000
commitb15e1cba3b11f73f3155c5dbd8a162c2512f5641 (patch)
tree48a69f6c3d54080adf34377c4846c292b33fdb67 /gtk2_ardour/midi_region_view.cc
parentcc67b6bb1f96ba7744e68bf74f56f3c53e317f95 (diff)
Small cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@9061 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.cc')
-rw-r--r--gtk2_ardour/midi_region_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc
index 464058397a..0941806877 100644
--- a/gtk2_ardour/midi_region_view.cc
+++ b/gtk2_ardour/midi_region_view.cc
@@ -3336,8 +3336,8 @@ MidiRegionView::data_recorded (boost::shared_ptr<MidiBuffer> buf, boost::weak_pt
if (ev.type() == MIDI_CMD_NOTE_ON) {
- boost::shared_ptr<Evoral::Note<Evoral::MusicalTime> > note (
- new Evoral::Note<Evoral::MusicalTime> (ev.channel(), time_beats, 0, ev.note(), ev.velocity())
+ boost::shared_ptr<NoteType> note (
+ new NoteType (ev.channel(), time_beats, 0, ev.note(), ev.velocity())
);
add_note (note, true);