From 8018bed0ded65003279dfbdf446bae2697378488 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 23 Sep 2016 20:34:28 +0200 Subject: add an option to exclude unused Audio Sources when archiving the session --- libs/ardour/session_playlists.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libs/ardour/session_playlists.cc') diff --git a/libs/ardour/session_playlists.cc b/libs/ardour/session_playlists.cc index 95982b6158..5713e15458 100644 --- a/libs/ardour/session_playlists.cc +++ b/libs/ardour/session_playlists.cc @@ -505,7 +505,7 @@ SessionPlaylists::playlists_for_track (boost::shared_ptr tr) const } void -SessionPlaylists::foreach (boost::function)> functor) +SessionPlaylists::foreach (boost::function)> functor, bool incl_unused) { Glib::Threads::Mutex::Lock lm (lock); for (List::iterator i = playlists.begin(); i != playlists.end(); i++) { @@ -513,6 +513,9 @@ SessionPlaylists::foreach (boost::functionhidden()) { functor (*i); -- cgit v1.2.3