From 9213e9c9094468ce21be378ea017b0da1405bf03 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 22 Apr 2010 01:40:33 +0000 Subject: Allow more than one peaks_ready callback to be pending for an AudioRegionView at any one time. Prevents problems when there is more than 1 channel for which peaks are not ready; before, the first peaks_ready callback would be forgotten when the second one was requested. Should fix #3074. git-svn-id: svn://localhost/ardour2/branches/3.0@6951 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/audio_region_view.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk2_ardour/audio_region_view.h') diff --git a/gtk2_ardour/audio_region_view.h b/gtk2_ardour/audio_region_view.h index b5fc89d0a9..097c839f6c 100644 --- a/gtk2_ardour/audio_region_view.h +++ b/gtk2_ardour/audio_region_view.h @@ -174,6 +174,11 @@ class AudioRegionView : public RegionView private: void setup_fade_handle_positions (); + + /** A ScopedConnection for each PeaksReady callback (one per channel). Each member + * may be 0 if no connection exists. + */ + std::vector _data_ready_connections; }; #endif /* __gtk_ardour_audio_region_view_h__ */ -- cgit v1.2.3