summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/route.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-14 12:36:00 +0100
committerRobin Gareus <robin@gareus.org>2020-03-14 13:25:54 +0100
commit8f378650700930dba1865cb1bdf1895223e6dd43 (patch)
treeece9ba2718ce61a09361469256ff22e7ec1663eb /libs/ardour/ardour/route.h
parent97f3d9496bdb602305cf522f10b21124af8aef40 (diff)
Prevent freeze/bounce of sidechain processors
This also consolidates code to test if a processor can be frozen from various places.
Diffstat (limited to 'libs/ardour/ardour/route.h')
-rw-r--r--libs/ardour/ardour/route.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index f53efe3fd2..a24d102555 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -608,6 +608,8 @@ protected:
samplecnt_t bounce_get_latency (boost::shared_ptr<Processor> endpoint, bool include_endpoint, bool for_export, bool for_freeze) const;
ChanCount bounce_get_output_streams (ChanCount &cc, boost::shared_ptr<Processor> endpoint, bool include_endpoint, bool for_export, bool for_freeze) const;
+ bool can_freeze_processor (boost::shared_ptr<Processor>, bool allow_routing = false) const;
+
bool _active;
samplecnt_t _signal_latency;