From 5fca8c98545b699a9bce0446436d1107c4ed55a1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 25 Jul 2013 10:59:24 +0200 Subject: 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 --- libs/ardour/ardour/meter.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/ardour/ardour') 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; } -- cgit v1.2.3