summaryrefslogtreecommitdiff
path: root/libs/ardour/region.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-02-25 21:35:07 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2020-03-17 16:31:49 -0600
commita4d7b45fe00996fd37a1af6d5be8c913a0b3bbf4 (patch)
tree35463bfb8a0b7def08b254378873305b7d0f1aa0 /libs/ardour/region.cc
parente89b0cfd27be8dc8ea8099d624adb999d957fa3e (diff)
remove destructive/tape mode tracks
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r--libs/ardour/region.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index 8725bf8343..1803315194 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -1730,7 +1730,7 @@ Region::source_length(uint32_t n) const
bool
Region::verify_length (samplecnt_t& len)
{
- if (source() && (source()->destructive() || source()->length_mutable())) {
+ if (source() && source()->length_mutable()) {
return true;
}
@@ -1748,7 +1748,7 @@ Region::verify_length (samplecnt_t& len)
bool
Region::verify_start_and_length (samplepos_t new_start, samplecnt_t& new_length)
{
- if (source() && (source()->destructive() || source()->length_mutable())) {
+ if (source() && source()->length_mutable()) {
return true;
}
@@ -1766,7 +1766,7 @@ Region::verify_start_and_length (samplepos_t new_start, samplecnt_t& new_length)
bool
Region::verify_start (samplepos_t pos)
{
- if (source() && (source()->destructive() || source()->length_mutable())) {
+ if (source() && source()->length_mutable()) {
return true;
}
@@ -1781,7 +1781,7 @@ Region::verify_start (samplepos_t pos)
bool
Region::verify_start_mutable (samplepos_t& new_start)
{
- if (source() && (source()->destructive() || source()->length_mutable())) {
+ if (source() && source()->length_mutable()) {
return true;
}