From aa8128cdf526c8f10b39ad4362101e4760be3319 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 4 Dec 2018 17:06:13 +0100 Subject: [PATCH] Fix logic-error in d1cf2163: hide info for optimized builds --- libs/ardour/plugin_insert.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 3b87b659a6..351d6dae6a 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -1226,7 +1226,7 @@ PluginInsert::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sa } if (_pending_active) { -#if defined MIXBUS && !defined NDEBUG +#if defined MIXBUS && defined NDEBUG if (!is_channelstrip ()) { _timing_stats.start (); } @@ -1241,7 +1241,7 @@ PluginInsert::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sa Glib::Threads::Mutex::Lock lm (control_lock(), Glib::Threads::TRY_LOCK); connect_and_run (bufs, start_sample, end_sample, speed, nframes, 0, lm.locked()); } -#if defined MIXBUS && !defined NDEBUG +#if defined MIXBUS && defined NDEBUG if (!is_channelstrip ()) { _timing_stats.update (); } @@ -3214,7 +3214,7 @@ PluginInsert::end_touch (uint32_t param_id) bool PluginInsert::provides_stats () const { -#if defined MIXBUS && !defined NDEBUG +#if defined MIXBUS && defined NDEBUG if (is_channelstrip () || !display_to_user ()) { return false; } -- 2.30.2