+ bool write_immediate_event(size_t size, const Byte* buf);
+
+ struct MidiControl : public AutomationControl {
+ MidiControl(boost::shared_ptr<MidiTrack> route, boost::shared_ptr<AutomationList> al)
+ : AutomationControl (route->session(), al, al->param_id().to_string())
+ , _route (route)
+ {}
+
+ void set_value (float val);
+
+ boost::weak_ptr<MidiTrack> _route;
+ };
+