diff options
author | Robin Gareus <robin@gareus.org> | 2013-07-25 10:59:24 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-07-25 10:59:24 +0200 |
commit | 5fca8c98545b699a9bce0446436d1107c4ed55a1 (patch) | |
tree | 45dc729b2d9aaf237988da34ee23203fe2c55c89 /libs/ardour/ardour/meter.h | |
parent | 132549c48a65271dfd81a3f550305e3990caed9f (diff) |
Don't allow to deactivate meter.
before this change:
1) switch to 'custom' meter point,
2) deactivate meter processor.
-> meters does not run regardless of meter-point
-> meter can only be re-nabled in 'custom' mode
Diffstat (limited to 'libs/ardour/ardour/meter.h')
-rw-r--r-- | libs/ardour/ardour/meter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/meter.h b/libs/ardour/ardour/meter.h index 4ac140fd04..a4ad8ecff4 100644 --- a/libs/ardour/ardour/meter.h +++ b/libs/ardour/ardour/meter.h @@ -75,6 +75,9 @@ public: /** Compute peaks */ void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool); + void activate () { } + void deactivate () { } + ChanCount input_streams () const { return current_meters; } ChanCount output_streams () const { return current_meters; } |