diff options
author | Carl Hetherington <carl@carlh.net> | 2010-04-22 01:40:33 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-04-22 01:40:33 +0000 |
commit | 9213e9c9094468ce21be378ea017b0da1405bf03 (patch) | |
tree | 99424cd6f17fa93a354deae97db76af98b6f06e7 /gtk2_ardour/audio_region_view.h | |
parent | 5b4b2c04e522f8c71b23359519c19160c886c8b9 (diff) |
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
Diffstat (limited to 'gtk2_ardour/audio_region_view.h')
-rw-r--r-- | gtk2_ardour/audio_region_view.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<PBD::ScopedConnection*> _data_ready_connections; }; #endif /* __gtk_ardour_audio_region_view_h__ */ |