Yamaha-PSR-S900.midnam: correct organ flutes, duplicate settings generated from fault...
[ardour.git] / libs / ardour / ardour / midi_region.h
index a5c9e23a0f47c9758b79b023a943dfe6db978230..daca7a243d16d7be6f2bbfc9f607af54e52ad099 100644 (file)
@@ -62,7 +62,7 @@ class MidiRegion : public Region
 
        ~MidiRegion();
 
-       boost::shared_ptr<MidiRegion> clone () const;
+       boost::shared_ptr<MidiRegion> clone (std::string path = std::string()) const;
 
        boost::shared_ptr<MidiSource> midi_source (uint32_t n=0) const;
 
@@ -77,7 +77,7 @@ class MidiRegion : public Region
                            NoteMode  mode = Sustained,
                            MidiStateTracker* tracker = 0) const;
 
-       framepos_t master_read_at (MidiRingBuffer<framepos_t>& dst,
+       framecnt_t master_read_at (MidiRingBuffer<framepos_t>& dst,
                                   framepos_t position,
                                   framecnt_t dur,
                                   uint32_t  chan_n = 0,
@@ -96,8 +96,6 @@ class MidiRegion : public Region
 
        /* export */
 
-       int exportme (ARDOUR::Session&, ARDOUR::ExportSpecification&);
-
        boost::shared_ptr<MidiModel> model();
        boost::shared_ptr<const MidiModel> model() const;
 
@@ -134,6 +132,7 @@ class MidiRegion : public Region
 
        void set_position_internal (framepos_t pos, bool allow_bbt_recompute);
        void set_length_internal (framecnt_t len);
+       void set_start_internal (framecnt_t);
        void update_length_beats ();
 
        void model_changed ();