- void replace_region (boost::shared_ptr<Region> old, boost::shared_ptr<Region> newr, framepos_t pos);
- void split_region (boost::shared_ptr<Region>, framepos_t position);
- void split (framepos_t at);
- void shift (framepos_t at, frameoffset_t distance, bool move_intersected, bool ignore_music_glue);
- void partition (framepos_t start, framepos_t end, bool cut = false);
- void duplicate (boost::shared_ptr<Region>, framepos_t position, float times);
- void duplicate (boost::shared_ptr<Region>, framepos_t position, framecnt_t gap, float times);
- void duplicate_until (boost::shared_ptr<Region>, framepos_t position, framecnt_t gap, framepos_t end);
+ void replace_region (boost::shared_ptr<Region> old, boost::shared_ptr<Region> newr, samplepos_t pos);
+ void split_region (boost::shared_ptr<Region>, const MusicSample& position);
+ void split (const MusicSample& at);
+ void shift (samplepos_t at, sampleoffset_t distance, bool move_intersected, bool ignore_music_glue);
+ void partition (samplepos_t start, samplepos_t end, bool cut = false);
+ void duplicate (boost::shared_ptr<Region>, samplepos_t position, float times);
+ void duplicate (boost::shared_ptr<Region>, samplepos_t position, samplecnt_t gap, float times);
+ void duplicate_until (boost::shared_ptr<Region>, samplepos_t position, samplecnt_t gap, samplepos_t end);