From 5e087864f6e87079191883d097b95f45198d2751 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 10 Nov 2023 10:55:44 -0700 Subject: [PATCH] no strobe for editor-visible meters --- gtk2_ardour/editor.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 641feeecdd..1bf2a3eb23 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -141,6 +141,7 @@ #include "mixer_ui.h" #include "mouse_cursors.h" #include "note_base.h" +#include "opts.h" #include "plugin_setup_dialog.h" #include "public_editor.h" #include "quantize_dialog.h" @@ -6440,7 +6441,7 @@ Editor::super_rapid_screen_update () /* METERING / MIXER STRIPS */ /* update track meters, if required */ - if (contents().get_mapped() && meters_running) { + if (!ARDOUR_COMMAND_LINE::no_strobe && contents().get_mapped() && meters_running) { RouteTimeAxisView* rtv; for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) { if ((rtv = dynamic_cast(*i)) != 0) { @@ -6450,7 +6451,7 @@ Editor::super_rapid_screen_update () } /* and any current mixer strip */ - if (current_mixer_strip) { + if (!ARDOUR_COMMAND_LINE::no_strobe && current_mixer_strip) { current_mixer_strip->fast_update (); }