diff options
author | Carl Hetherington <carl@carlh.net> | 2012-04-02 23:31:17 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-04-02 23:31:17 +0000 |
commit | 81372b6ebebce8a330cab42b53e3bdee5e8a9ba8 (patch) | |
tree | 571a9335fc428ac0195afcce7e7bbf86177b5b08 /libs/ardour/playlist.cc | |
parent | 47faebb36791f02e2fca7aa6c9f38548d27608a8 (diff) |
Remove some unused stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@11782 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/playlist.cc')
-rw-r--r-- | libs/ardour/playlist.cc | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index 885f592bf2..f7267e4545 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -3173,38 +3173,8 @@ Playlist::max_source_level () const return lvl; } - -uint32_t -Playlist::count_joined_regions () const -{ - RegionLock rlock (const_cast<Playlist *> (this)); - uint32_t cnt = 0; - - for (RegionList::const_iterator i = regions.begin(); i != regions.end(); ++i) { - if ((*i)->max_source_level() > 0) { - cnt++; - } - } - - return cnt; -} - void Playlist::set_orig_track_id (const PBD::ID& id) { _orig_track_id = id; } - -uint64_t -Playlist::highest_layering_index () const -{ - RegionLock rlock (const_cast<Playlist *> (this)); - - uint64_t h = 0; - for (RegionList::const_iterator i = regions.begin(); i != regions.end(); ++i) { - h = max (h, (*i)->layering_index ()); - } - - return h; -} - |