diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2018-11-02 21:50:14 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2018-11-02 21:52:00 -0400 |
commit | 6bd583803ea1daf19a1c088766122b5cdf340171 (patch) | |
tree | ea8e547552ad1a455bccc34fb5e6c76e71d7c3c5 /libs/ardour/ardour/transport_master_manager.h | |
parent | bf2d9e7a342dbb4d06b258e9d22cc4915260914c (diff) |
rename TransportMasterManager::init() to ::set_default_configuration() to make its purpose more clear
Diffstat (limited to 'libs/ardour/ardour/transport_master_manager.h')
-rw-r--r-- | libs/ardour/ardour/transport_master_manager.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/ardour/transport_master_manager.h b/libs/ardour/ardour/transport_master_manager.h index 5ed3855eb2..ac61a97a9f 100644 --- a/libs/ardour/ardour/transport_master_manager.h +++ b/libs/ardour/ardour/transport_master_manager.h @@ -35,9 +35,13 @@ class LIBARDOUR_API TransportMasterManager : public boost::noncopyable public: ~TransportMasterManager (); - int init (); + int set_default_configuration (); static TransportMasterManager& instance(); + /* this method is not thread-safe and is intended to be used only + * very early in application-lifetime to check if the TMM has + * been created yet. Do not use in other code. + */ static bool exists() { return _instance != 0; } typedef std::list<boost::shared_ptr<TransportMaster> > TransportMasters; |