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/strip_silence_dialog.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/strip_silence_dialog.h')
-rw-r--r-- | gtk2_ardour/strip_silence_dialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/strip_silence_dialog.h b/gtk2_ardour/strip_silence_dialog.h index c746edc6b5..108bbb4b7b 100644 --- a/gtk2_ardour/strip_silence_dialog.h +++ b/gtk2_ardour/strip_silence_dialog.h @@ -85,7 +85,7 @@ private: ARDOUR::framecnt_t max_silence; ARDOUR::framecnt_t min_silence; - PBD::ScopedConnection _peaks_ready_connection; + PBD::ScopedConnection* _peaks_ready_connection; static bool _detection_done (void*); static void* _detection_thread_work (void*); |