summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/midi_track.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-20 08:56:00 +0000
committerDavid Robillard <d@drobilla.net>2013-01-20 08:56:00 +0000
commit4e6d0c9e61b62931a4a2120b548f0ff02a966351 (patch)
tree17c395d18338fb92d7af62fa635a8e957d523f93 /libs/ardour/ardour/midi_track.h
parent0ebad4279b765d3fbe85649e9ef29e5b61c1d162 (diff)
Show matching controller name in automation lane header.
Completely eliminate static MIDI controller name code. Reduce dependency on midnam_patch.h (which would have saved me several hours if I did it earlier). Store controller name numbers as an integer. Keep controller names in a map keyed by int instead of a list for fast lookup. More cleanup of MIDI::Name code. git-svn-id: svn://localhost/ardour2/branches/3.0@13927 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/midi_track.h')
-rw-r--r--libs/ardour/ardour/midi_track.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/libs/ardour/ardour/midi_track.h b/libs/ardour/ardour/midi_track.h
index cf7167e3af..c5f3bb977b 100644
--- a/libs/ardour/ardour/midi_track.h
+++ b/libs/ardour/ardour/midi_track.h
@@ -60,10 +60,18 @@ public:
bool bounceable (boost::shared_ptr<Processor>, bool) const { return false; }
boost::shared_ptr<Region> bounce (InterThreadInfo&);
- boost::shared_ptr<Region> bounce_range (framepos_t start, framepos_t end, InterThreadInfo&,
- boost::shared_ptr<Processor> endpoint, bool include_endpoint);
- int export_stuff (BufferSet& bufs, framepos_t start_frame, framecnt_t end_frame,
- boost::shared_ptr<Processor> endpoint, bool include_endpoint, bool for_export);
+ boost::shared_ptr<Region> bounce_range (framepos_t start,
+ framepos_t end,
+ InterThreadInfo& iti,
+ boost::shared_ptr<Processor> endpoint,
+ bool include_endpoint);
+
+ int export_stuff (BufferSet& bufs,
+ framepos_t start_frame,
+ framecnt_t end_frame,
+ boost::shared_ptr<Processor> endpoint,
+ bool include_endpoint,
+ bool for_export);
int set_state (const XMLNode&, int version);
@@ -86,6 +94,8 @@ public:
NoteMode note_mode() const { return _note_mode; }
void set_note_mode (NoteMode m);
+ std::string describe_parameter (Evoral::Parameter param);
+
bool step_editing() const { return _step_editing; }
void set_step_editing (bool yn);
MidiRingBuffer<framepos_t>& step_edit_ring_buffer() { return _step_edit_ring_buffer; }
@@ -102,7 +112,7 @@ public:
boost::shared_ptr<MidiBuffer> get_gui_feed_buffer () const;
void set_monitoring (MonitorChoice);
- MonitorState monitoring_state () const;
+ MonitorState monitoring_state () const;
void set_input_active (bool);
bool input_active () const;