summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-04 05:15:28 +0000
committerDavid Robillard <d@drobilla.net>2007-10-04 05:15:28 +0000
commit79db28b0b87a6fb67ed6f31ec4753f52aad4358a (patch)
tree898e8a5d7c7c213900b4074051c2b8e9de95f733 /gtk2_ardour/midi_region_view.h
parent9bcd3f1d167428916664e56d489477e8840eec3c (diff)
Merge the two separate 'add notes to midi region' interfaces (note and midievent).
Update note range dynamically while recording to fit incoming notes. git-svn-id: svn://localhost/ardour2/trunk@2512 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index d2c0df182d..6b0dcd1804 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -76,8 +76,8 @@ class MidiRegionView : public RegionView
GhostRegion* add_ghost (AutomationTimeAxisView&);
- void add_event(const ARDOUR::MidiEvent& ev);
- void add_note(const ARDOUR::Note& note);
+ void add_note(const ARDOUR::Note& note, bool copy_note);
+ void resolve_note(uint8_t note_num, double end_time);
void begin_write();
void end_write();