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/ardour/vca.h | |
parent | 7b62e08233dcb87168fa9bc2b9862cf84405cf64 (diff) |
don't increment actual VCA counter when saving session state
Diffstat (limited to 'libs/ardour/ardour/vca.h')
-rw-r--r-- | libs/ardour/ardour/vca.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/vca.h b/libs/ardour/ardour/vca.h index 42224eb708..069eb98564 100644 --- a/libs/ardour/ardour/vca.h +++ b/libs/ardour/ardour/vca.h @@ -55,6 +55,9 @@ class LIBARDOUR_API VCA : public Stripable, public Automatable, public boost::en static std::string default_name_template (); static int next_vca_number (); static std::string xml_node_name; + + /* used by Session to save/restore the atomic counter */ + static uint32_t get_next_vca_number (); static void set_next_vca_number (uint32_t); virtual boost::shared_ptr<GainControl> gain_control() const { return _gain_control; } |