diff options
author | David Robillard <d@drobilla.net> | 2008-08-17 06:50:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-17 06:50:15 +0000 |
commit | e0743e9d9b15fb2731e26bf5700413c083a89186 (patch) | |
tree | 5f07e29faf213fd544f420c7d512d5e5342db059 /src/libs/engine | |
parent | 03acefb8271d2abb5160b349d8e70687af6965fb (diff) | |
download | ingen-e0743e9d9b15fb2731e26bf5700413c083a89186.tar.gz ingen-e0743e9d9b15fb2731e26bf5700413c083a89186.tar.bz2 ingen-e0743e9d9b15fb2731e26bf5700413c083a89186.zip |
Tidy.
git-svn-id: http://svn.drobilla.net/lad/ingen@1415 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r-- | src/libs/engine/GraphObjectImpl.hpp | 10 | ||||
-rw-r--r-- | src/libs/engine/LADSPANode.cpp | 3 | ||||
-rw-r--r-- | src/libs/engine/PluginImpl.cpp | 4 |
3 files changed, 8 insertions, 9 deletions
diff --git a/src/libs/engine/GraphObjectImpl.hpp b/src/libs/engine/GraphObjectImpl.hpp index 628db3db..d1896b1b 100644 --- a/src/libs/engine/GraphObjectImpl.hpp +++ b/src/libs/engine/GraphObjectImpl.hpp @@ -81,12 +81,12 @@ public: const Atom& get_property(const std::string& key) { static Atom null_atom; - Variables::iterator i = _properties.find(key); + Properties::iterator i = _properties.find(key); return (i != _properties.end()) ? (*i).second : null_atom; } - const Variables& variables() const { return _variables; } - const Variables& properties() const { return _properties; } + const Variables& variables() const { return _variables; } + const Properties& properties() const { return _properties; } /** The Patch this object is a child of. */ virtual PatchImpl* parent_patch() const; @@ -117,8 +117,8 @@ protected: bool _polyphonic; private: - Variables _variables; - Variables _properties; + Variables _variables; + Properties _properties; }; diff --git a/src/libs/engine/LADSPANode.cpp b/src/libs/engine/LADSPANode.cpp index 83c3d6af..22f5bbf3 100644 --- a/src/libs/engine/LADSPANode.cpp +++ b/src/libs/engine/LADSPANode.cpp @@ -112,8 +112,7 @@ nameify_if_invalid(const string& name) const string new_name = Path::nameify(name); assert(Path::is_valid_name(new_name)); if (new_name != name) - cerr << "WARNING: Illegal LADSPA port name '" - << name << "' converted to '" << new_name << "'" << endl; + cerr << "Symbol '" << new_name << "' generated from LADSPA name '" << name << endl; return new_name; } } diff --git a/src/libs/engine/PluginImpl.cpp b/src/libs/engine/PluginImpl.cpp index 709f18bd..215cf4ce 100644 --- a/src/libs/engine/PluginImpl.cpp +++ b/src/libs/engine/PluginImpl.cpp @@ -31,7 +31,7 @@ void PluginImpl::load() { if (!_module) { - cerr << "Loading " << _library_path << " library" << endl; + //cerr << "Loading " << _library_path << " library" << endl; _module = new Glib::Module(_library_path, Glib::MODULE_BIND_LOCAL); if (!(*_module)) delete _module; @@ -43,7 +43,7 @@ void PluginImpl::unload() { if (_module) { - cerr << "Unloading " << _library_path << endl; + //cerr << "Unloading " << _library_path << endl; delete _module; _module = NULL; } |