From 08af0fe04a03c80bc972c333f085d567c6950788 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 10 Nov 2023 10:54:54 -0700 Subject: [PATCH] no strobe for the transport peak meter --- gtk2_ardour/ardour_ui.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 8f49e8107d..aa18e4156b 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -1203,12 +1203,14 @@ ARDOUR_UI::every_point_zero_something_seconds () _editor_meter_peaked = false; } - const float mpeak = editor_meter->update_meters(); - const bool peaking = mpeak > UIConfiguration::instance().get_meter_peak(); + if (!ARDOUR_COMMAND_LINE::no_strobe) { + const float mpeak = editor_meter->update_meters(); + const bool peaking = mpeak > UIConfiguration::instance().get_meter_peak(); - if (!_editor_meter_peaked && peaking) { - editor_meter_peak_display.set_active_state ( Gtkmm2ext::ExplicitActive ); - _editor_meter_peaked = true; + if (!_editor_meter_peaked && peaking) { + editor_meter_peak_display.set_active_state (Gtkmm2ext::ExplicitActive); + _editor_meter_peaked = true; + } } } }