Create regions with property changes suspended

Multimedia / Ardour - Robin Gareus [gareus.org] - 30 April 2021 16:43 UTC

This fixes various issues with signal emission(s) when creating regions from withing playlist operations.

eg. Playlist::duplicate() takes RegionWriteLock() and then calls RegionFactory::create().

see also 6a82aa392c6dd0f4057f5ae37095cf1fd4478626

65cc9264c8 Create regions with property changes suspended
libs/ardour/ardour/playlist.h | 21 +-----------------
libs/ardour/ardour/region_factory.h | 11 ++++++----
libs/ardour/ardour/thawlist.h | 35 ++++++++++++++++++++++++++++++
libs/ardour/playlist.cc | 28 ++++++++++++------------
libs/ardour/region_factory.cc | 20 ++++++++++++++---
libs/ardour/thawlist.cc | 43 +++++++++++++++++++++++++++++++++++++
libs/ardour/wscript | 1 +
7 files changed, 118 insertions(+), 41 deletions(-)

  • Share