Fix whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@13935 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e34470b7bd
commit
58d0fa7240
@ -3701,10 +3701,8 @@ MidiRegionView::data_recorded (boost::weak_ptr<MidiSource> w)
|
|||||||
Evoral::MusicalTime const time_beats = converter.from (ev.time () - converter.origin_b ());
|
Evoral::MusicalTime const time_beats = converter.from (ev.time () - converter.origin_b ());
|
||||||
|
|
||||||
if (ev.type() == MIDI_CMD_NOTE_ON) {
|
if (ev.type() == MIDI_CMD_NOTE_ON) {
|
||||||
|
|
||||||
boost::shared_ptr<NoteType> note (
|
boost::shared_ptr<NoteType> note (
|
||||||
new NoteType (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);
|
||||||
|
|
||||||
|
@ -420,7 +420,8 @@ write_midi_data_to_new_files (Evoral::SMF* source, ImportStatus& status,
|
|||||||
first = false;
|
first = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
smfs->append_event_unlocked_beats(Evoral::Event<double>(0,
|
smfs->append_event_unlocked_beats(
|
||||||
|
Evoral::Event<double>(0,
|
||||||
(double)t / (double)source->ppqn(),
|
(double)t / (double)source->ppqn(),
|
||||||
size,
|
size,
|
||||||
buf));
|
buf));
|
||||||
|
Loading…
Reference in New Issue
Block a user