diff options
author | David Robillard <d@drobilla.net> | 2013-01-21 01:08:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-21 01:08:43 +0000 |
commit | 58d0fa72407fbb3c068147abf680c46f5abf14ab (patch) | |
tree | 011019f5dcd908a589e30b33303e578ebce798bc | |
parent | e34470b7bdeefa71c081adbd957829a1c6dbf247 (diff) |
Fix whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@13935 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/midi_region_view.cc | 4 | ||||
-rw-r--r-- | libs/ardour/import.cc | 9 |
2 files changed, 6 insertions, 7 deletions
diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index f680a44f90..bff4f4d6be 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -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); diff --git a/libs/ardour/import.cc b/libs/ardour/import.cc index 161841222e..07c7958ad7 100644 --- a/libs/ardour/import.cc +++ b/libs/ardour/import.cc @@ -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; |