diff options
author | Carl Hetherington <carl@carlh.net> | 2011-12-17 02:05:04 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-12-17 02:05:04 +0000 |
commit | 85b75a0ab1c3c342cde0f0cdae71fea87a57ff20 (patch) | |
tree | fa51542871bbe12128bc0b36c4ac1ac6cc9ade3f /libs/ardour/region.cc | |
parent | 6c575f1385301979113f2971d7f8b326e2bd4822 (diff) |
Remove unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@11015 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r-- | libs/ardour/region.cc | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc index 3494db12fa..dde4e51530 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -625,29 +625,6 @@ Region::set_position_internal (framepos_t pos, bool allow_bbt_recompute) } void -Region::set_position_on_top (framepos_t pos) -{ - if (locked()) { - return; - } - - if (_position != pos) { - set_position_internal (pos, true); - } - - boost::shared_ptr<Playlist> pl (playlist()); - - if (pl) { - pl->raise_region_to_top (shared_from_this ()); - } - - /* do this even if the position is the same. this helps out - a GUI that has moved its representation already. - */ - send_change (Properties::position); -} - -void Region::recompute_position_from_lock_style () { if (_position_lock_style == MusicTime) { @@ -1488,20 +1465,6 @@ Region::uses_source (boost::shared_ptr<const Source> source) const return false; } -bool -Region::uses_source_path (const std::string& path) const -{ - for (SourceList::const_iterator i = _sources.begin(); i != _sources.end(); ++i) { - boost::shared_ptr<const FileSource> fs = boost::dynamic_pointer_cast<const FileSource> (*i); - if (fs) { - if (fs->path() == path) { - return true; - } - } - } - return false; -} - framecnt_t Region::source_length(uint32_t n) const { |