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 ());
|
||||
|
||||
if (ev.type() == MIDI_CMD_NOTE_ON) {
|
||||
|
||||
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);
|
||||
|
||||
|
@ -420,10 +420,11 @@ write_midi_data_to_new_files (Evoral::SMF* source, ImportStatus& status,
|
||||
first = false;
|
||||
}
|
||||
|
||||
smfs->append_event_unlocked_beats(Evoral::Event<double>(0,
|
||||
(double)t / (double)source->ppqn(),
|
||||
size,
|
||||
buf));
|
||||
smfs->append_event_unlocked_beats(
|
||||
Evoral::Event<double>(0,
|
||||
(double)t / (double)source->ppqn(),
|
||||
size,
|
||||
buf));
|
||||
|
||||
if (status.progress < 0.99) {
|
||||
status.progress += 0.01;
|
||||
|
Loading…
Reference in New Issue
Block a user