diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-09 04:42:21 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-09 04:42:21 +0200 |
commit | 56c4eebfdd1033b9dd92ddcdf8698dda38545997 (patch) | |
tree | 03a41abf570ad6805fa6a5e8db038e3aa8b3d5a8 /libs/ardour/ardour/plugin.h | |
parent | 49c9569039f9c7d51e969affa447b270de9e60da (diff) |
move LatencyChanged detection from Plugin to Processor (plugin-insert)
* support all Plugin APIs (not implementation specific)
* also check for latency changes when plugins are hard en/disabled
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r-- | libs/ardour/ardour/plugin.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h index bc32d7c3e6..df4b512ef7 100644 --- a/libs/ardour/ardour/plugin.h +++ b/libs/ardour/ardour/plugin.h @@ -225,23 +225,6 @@ class LIBARDOUR_API Plugin : public PBD::StatefulDestructible, public Latent return 0; } - /** Emitted when a Latency Changes - * - * (this cannot be part of ARDOUR::Latent because - * signals cannot be copy-constructed). - */ - PBD::Signal2<void,framecnt_t, framecnt_t> LatencyChanged; - - /* overload Latent::set_user_latency w/signal emission */ - virtual void set_user_latency (framecnt_t val) { - bool changed = val != _user_latency; - framecnt_t old = effective_latency (); - _user_latency = val; - if (changed) { - LatencyChanged (old, effective_latency ()); /* EMIT SIGNAL */ - } - } - /** the max possible latency a plugin will have */ virtual framecnt_t max_latency () const { return 0; } // TODO = 0, require implementation |