From c3afeab49c7f454f58bd1fb17b39ccac1d39258e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 7 Mar 2016 16:46:36 -0500 Subject: don't increment actual VCA counter when saving session state --- libs/ardour/vca.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs/ardour/vca.cc') diff --git a/libs/ardour/vca.cc b/libs/ardour/vca.cc index aafb084a40..2616549e17 100644 --- a/libs/ardour/vca.cc +++ b/libs/ardour/vca.cc @@ -55,6 +55,12 @@ VCA::set_next_vca_number (uint32_t n) g_atomic_int_set (&next_number, n); } +uint32_t +VCA::get_next_vca_number () +{ + return g_atomic_int_get (&next_number); +} + VCA::VCA (Session& s, uint32_t num, const string& name) : Stripable (s, name) , Automatable (s) -- cgit v1.2.3