diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-07 16:46:36 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:39 -0400 |
commit | c3afeab49c7f454f58bd1fb17b39ccac1d39258e (patch) | |
tree | c221913467b8238599ae581e8b3d1a3cab7dea08 /libs/ardour/vca.cc | |
parent | 7b62e08233dcb87168fa9bc2b9862cf84405cf64 (diff) |
don't increment actual VCA counter when saving session state
Diffstat (limited to 'libs/ardour/vca.cc')
-rw-r--r-- | libs/ardour/vca.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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) |