diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-05-22 16:11:00 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-05-22 16:11:00 +0000 |
commit | 9c733915a0bc4b5274fac749b1adc874da79a6ee (patch) | |
tree | 1db070ef198c7b7890cb98c84a37a1321c810183 /libs/ardour/ardour/playlist.h | |
parent | d40ee9548661f88db1bc1dcda0b463220d59a8d8 (diff) |
basic uncombining (no post-facto region trimming)
git-svn-id: svn://localhost/ardour2/branches/3.0@9566 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/playlist.h')
-rw-r--r-- | libs/ardour/ardour/playlist.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libs/ardour/ardour/playlist.h b/libs/ardour/ardour/playlist.h index 6385def785..5d3d5d2504 100644 --- a/libs/ardour/ardour/playlist.h +++ b/libs/ardour/ardour/playlist.h @@ -139,7 +139,8 @@ public: void partition (framepos_t start, framepos_t end, bool cut = false); void duplicate (boost::shared_ptr<Region>, framepos_t position, float times); void nudge_after (framepos_t start, framecnt_t distance, bool forwards); - void join (const RegionList&, const std::string&); + void combine (const RegionList&, const std::string&); + void uncombine (boost::shared_ptr<Region>); void shuffle (boost::shared_ptr<Region>, int dir); void update_after_tempo_map_change (); @@ -382,6 +383,13 @@ public: typedef std::pair<boost::shared_ptr<Region>, boost::shared_ptr<Region> > TwoRegions; virtual void copy_dependents (const std::vector<TwoRegions>&, boost::shared_ptr<Playlist>) { } + + struct RegionInfo { + boost::shared_ptr<Region> region; + framepos_t position; + framecnt_t length; + framepos_t start; + }; }; } /* namespace ARDOUR */ |