Small cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@9061 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
cc67b6bb1f
commit
b15e1cba3b
@ -3336,8 +3336,8 @@ MidiRegionView::data_recorded (boost::shared_ptr<MidiBuffer> buf, boost::weak_pt
|
|||||||
|
|
||||||
if (ev.type() == MIDI_CMD_NOTE_ON) {
|
if (ev.type() == MIDI_CMD_NOTE_ON) {
|
||||||
|
|
||||||
boost::shared_ptr<Evoral::Note<Evoral::MusicalTime> > note (
|
boost::shared_ptr<NoteType> note (
|
||||||
new Evoral::Note<Evoral::MusicalTime> (ev.channel(), time_beats, 0, ev.note(), ev.velocity())
|
new NoteType (ev.channel(), time_beats, 0, ev.note(), ev.velocity())
|
||||||
);
|
);
|
||||||
|
|
||||||
add_note (note, true);
|
add_note (note, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user