13
0

Small cleanup.

git-svn-id: svn://localhost/ardour2/branches/3.0@9061 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-03-04 00:35:47 +00:00
parent cc67b6bb1f
commit b15e1cba3b

View File

@ -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);