From f8a5d45b7a03b98ed7a16c2ac6876a30cd01ef56 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 28 Jun 2021 14:47:39 -0600 Subject: [PATCH] GUI side of microseconds_t => int64_t --- gtk2_ardour/dsp_stats_ui.cc | 8 ++++---- gtk2_ardour/plugin_dspload_ui.h | 2 +- gtk2_ardour/timers.cc | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gtk2_ardour/dsp_stats_ui.cc b/gtk2_ardour/dsp_stats_ui.cc index 44a6eaae6e..5dd21b7829 100644 --- a/gtk2_ardour/dsp_stats_ui.cc +++ b/gtk2_ardour/dsp_stats_ui.cc @@ -125,8 +125,8 @@ DspStatisticsGUI::stop_updating () void DspStatisticsGUI::update () { - uint64_t min = 0; - uint64_t max = 0; + PBD::microseconds_t min = 0; + PBD::microseconds_t max = 0; double avg = 0.; double dev = 0.; char buf[64]; @@ -205,8 +205,8 @@ DspStatisticsGUI::update () if (_session) { - uint64_t smin = 0; - uint64_t smax = 0; + PBD::microseconds_t smin = 0; + PBD::microseconds_t smax = 0; double savg = 0.; double sdev = 0.; diff --git a/gtk2_ardour/plugin_dspload_ui.h b/gtk2_ardour/plugin_dspload_ui.h index a89c8676b1..59aa3f6cd5 100644 --- a/gtk2_ardour/plugin_dspload_ui.h +++ b/gtk2_ardour/plugin_dspload_ui.h @@ -58,7 +58,7 @@ private: ArdourWidgets::ArdourButton _reset_button; Gtk::DrawingArea _darea; - uint64_t _min, _max; + PBD::microseconds_t _min, _max; double _avg, _dev; bool _valid; }; diff --git a/gtk2_ardour/timers.cc b/gtk2_ardour/timers.cc index d52643904d..e9218542a1 100644 --- a/gtk2_ardour/timers.cc +++ b/gtk2_ardour/timers.cc @@ -104,9 +104,9 @@ public: GATOMIC_QUAL gint _suspend_counter; #ifndef NDEBUG - std::vector rapid_eps_count; - std::vector super_rapid_eps_count; - std::vector fps_eps_count; + std::vector rapid_eps_count; + std::vector super_rapid_eps_count; + std::vector fps_eps_count; private: