summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/route.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-02-21 16:10:45 +0100
committerRobin Gareus <robin@gareus.org>2019-02-21 16:10:45 +0100
commit800605727903812e01f0b4502907625f0b1221ba (patch)
tree55c49ff8972dca55e726fa0ebaf7756787c893ef /libs/ardour/ardour/route.h
parent522f28b3c5b5e93b924ef05cf64368a5a1a033ad (diff)
Avoid dynamic-cast, prefer virtual inheritance for performance reasons
Diffstat (limited to 'libs/ardour/ardour/route.h')
-rw-r--r--libs/ardour/ardour/route.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index 24f3f998fc..576578b961 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -148,6 +148,7 @@ public:
int silent_roll (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, bool& need_butler);
+ virtual bool declick_in_progress () const { return false; }
virtual bool can_record() { return false; }
void non_realtime_transport_stop (samplepos_t now, bool flush);