+ 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);
+
+ void midi_panic(void);
+ bool write_immediate_event(size_t size, const uint8_t* buf);
+
+ /** A control that will send "immediate" events to a MIDI track when twiddled */
+ struct MidiControl : public AutomationControl {
+ MidiControl(MidiTrack* route, const Evoral::Parameter& param,
+ boost::shared_ptr<AutomationList> al = boost::shared_ptr<AutomationList>())
+ : AutomationControl (route->session(), param, al)
+ , _route (route)
+ {}
+
+ void set_value (double val);
+
+ MidiTrack* _route;
+ };
+
+ NoteMode note_mode() const { return _note_mode; }
+ void set_note_mode (NoteMode m);
+
+ std::string describe_parameter (Evoral::Parameter param);