~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;
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,
/* export */
- int exportme (ARDOUR::Session&, ARDOUR::ExportSpecification&);
-
boost::shared_ptr<MidiModel> model();
boost::shared_ptr<const MidiModel> model() const;
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 ();