summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-04-12 13:45:45 +0200
committerRobin Gareus <robin@gareus.org>2020-04-12 13:45:45 +0200
commit134b2162ba4327508e4eea4b3e3d16d5c2764c30 (patch)
tree78fa00c2d9b8e1d84394f739b1767fe7e7daea65 /gtk2_ardour/route_time_axis.h
parent43d52fe41a8c7ac7319aa3978d5b9733eb3b9124 (diff)
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.
Diffstat (limited to 'gtk2_ardour/route_time_axis.h')
-rw-r--r--gtk2_ardour/route_time_axis.h1
1 files changed, 1 insertions, 0 deletions
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(); }