From 134b2162ba4327508e4eea4b3e3d16d5c2764c30 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 12 Apr 2020 13:45:45 +0200 Subject: Fix waveform update when channel-count changes 7434478a35 introduced a race, IOchange triggers updating the GUI and re-configuring processors. The latter needs to complete first, otherwise Track::n_channels() returns the previous channel count. --- gtk2_ardour/route_time_axis.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk2_ardour/route_time_axis.h') diff --git a/gtk2_ardour/route_time_axis.h b/gtk2_ardour/route_time_axis.h index 903f745ca9..855a0ac341 100644 --- a/gtk2_ardour/route_time_axis.h +++ b/gtk2_ardour/route_time_axis.h @@ -145,6 +145,7 @@ public: void reset_meter (); void clear_meter (); void io_changed (ARDOUR::IOChange, void *); + void chan_count_changed (); void meter_changed (); void effective_gain_display () { gm.effective_gain_display(); } -- cgit v1.2.3