mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
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
This commit is contained in:
parent
5b4b2c04e5
commit
9213e9c909
10 changed files with 61 additions and 17 deletions
|
|
@ -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*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue