summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/region.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-03-12 15:15:44 +0100
committerRobin Gareus <robin@gareus.org>2019-03-12 15:17:12 +0100
commitd7314e0048b92a1694abc79727134ebd59e288fc (patch)
tree40e3b577b1d9da3c5b024c5d6f343ec51fc6f874 /libs/ardour/ardour/region.h
parenteea603d998be2f33a058c455fa6b86f6f10da815 (diff)
Add a time+layer equivalence check
This is more useful than exact_equivalent() since _start offset may not match in some cases (compounds, import, record with different capture latencies). However shared group editing (range, copy/paste) does result in consistent layers and matching position+length.
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r--libs/ardour/ardour/region.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h
index 5d0413beb8..ab3e2886d6 100644
--- a/libs/ardour/ardour/region.h
+++ b/libs/ardour/ardour/region.h
@@ -205,6 +205,7 @@ public:
bool size_equivalent (boost::shared_ptr<const Region>) const;
bool overlap_equivalent (boost::shared_ptr<const Region>) const;
bool enclosed_equivalent (boost::shared_ptr<const Region>) const;
+ bool layer_and_time_equivalent (boost::shared_ptr<const Region>) const;
bool region_list_equivalent (boost::shared_ptr<const Region>) const;
bool source_equivalent (boost::shared_ptr<const Region>) const;
bool any_source_equivalent (boost::shared_ptr<const Region>) const;