Add AutomationControl::set_value_unchecked() and AutomationControl::writable() and...
[ardour.git] / libs / ardour / ardour / midi_track.h
index f2542f0f6b9e2d45b0353aa41e8b648db3263648..80bb743b10976cb65a76fabca40f715280413df2 100644 (file)
@@ -51,6 +51,7 @@ public:
        boost::shared_ptr<Diskstream> create_diskstream ();
        void set_diskstream (boost::shared_ptr<Diskstream>);
        void set_record_enabled (bool yn, void *src);
+       void set_record_safe (bool yn, void *src);
 
        DataType data_type () const {
                return DataType::MIDI;
@@ -89,6 +90,8 @@ public:
                {}
 
                void set_value (double val);
+               void set_value_unchecked (double);
+               bool writable() const { return true; }
 
                MidiTrack* _route;
        };
@@ -149,7 +152,7 @@ private:
        MidiChannelFilter          _capture_filter;
 
        virtual boost::shared_ptr<Diskstream> diskstream_factory (XMLNode const &);
-       
+
        boost::shared_ptr<MidiDiskstream> midi_diskstream () const;
 
        void write_out_of_band_data (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, framecnt_t nframes);