diff options
author | David Robillard <d@drobilla.net> | 2007-01-08 04:26:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-01-08 04:26:52 +0000 |
commit | fa8c25fd08953b6b14b22faa807a5446cec7294c (patch) | |
tree | 3f24894ab1e64afc1f0a475398bf2a87bd3bb1f1 /src/libs/engine | |
parent | a0d02beed5e27a1b0085b0ff1a25dae228fcab06 (diff) | |
download | ingen-fa8c25fd08953b6b14b22faa807a5446cec7294c.tar.gz ingen-fa8c25fd08953b6b14b22faa807a5446cec7294c.tar.bz2 ingen-fa8c25fd08953b6b14b22faa807a5446cec7294c.zip |
Fix for building against local raul.
Fix for some LADSPA plugins where munged port names weren't unique.
git-svn-id: http://svn.drobilla.net/lad/ingen@243 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r-- | src/libs/engine/LADSPANode.cpp | 2 | ||||
-rw-r--r-- | src/libs/engine/Makefile.am | 7 | ||||
-rw-r--r-- | src/libs/engine/ObjectStore.cpp | 8 |
3 files changed, 9 insertions, 8 deletions
diff --git a/src/libs/engine/LADSPANode.cpp b/src/libs/engine/LADSPANode.cpp index 00cfd450..d1720429 100644 --- a/src/libs/engine/LADSPANode.cpp +++ b/src/libs/engine/LADSPANode.cpp @@ -75,7 +75,9 @@ LADSPANode::instantiate() Port* port = NULL; for (size_t j=0; j < _descriptor->PortCount; ++j) { + cerr << "Name before: " << _descriptor->PortNames[j] << endl; port_name = Path::nameify(_descriptor->PortNames[j]); + cerr << "Name after: " << port_name << endl; string::size_type slash_index; // Name mangling, to guarantee port names are unique diff --git a/src/libs/engine/Makefile.am b/src/libs/engine/Makefile.am index 97eadb29..3eb30f9d 100644 --- a/src/libs/engine/Makefile.am +++ b/src/libs/engine/Makefile.am @@ -1,12 +1,11 @@ SUBDIRS = tests events -AM_CXXFLAGS = @RAUL_CFLAGS@ @JACK_CFLAGS@ @LOSC_CFLAGS@ @ALSA_CFLAGS@ @LASH_CFLAGS@ @SLV2_CFLAGS@ -I$(top_srcdir)/src/common -I$(top_srcdir)/src/libs/engine/events - -libingen_la_LIBADD = @RAUL_LIBS@ @JACK_LIBS@ @LOSC_LIBS@ @ALSA_LIBS@ @LASH_LIBS@ @SLV2_LIBS@ - MAINTAINERCLEANFILES = Makefile.in noinst_LTLIBRARIES = libingen.la +libingen_la_CXXFLAGS = @RAUL_CFLAGS@ @JACK_CFLAGS@ @LOSC_CFLAGS@ @ALSA_CFLAGS@ @LASH_CFLAGS@ @SLV2_CFLAGS@ -I$(top_srcdir)/src/common -I$(top_srcdir)/src/libs/engine/events + +libingen_la_LIBADD = @RAUL_LIBS@ @JACK_LIBS@ @LOSC_LIBS@ @ALSA_LIBS@ @LASH_LIBS@ @SLV2_LIBS@ libingen_la_SOURCES = \ util.h \ diff --git a/src/libs/engine/ObjectStore.cpp b/src/libs/engine/ObjectStore.cpp index 852d734b..87005d1f 100644 --- a/src/libs/engine/ObjectStore.cpp +++ b/src/libs/engine/ObjectStore.cpp @@ -69,7 +69,7 @@ ObjectStore::find(const Path& path) void ObjectStore::add(GraphObject* o) { - //cerr << "[ObjectStore] Adding " << o->path() << endl; + cerr << "[ObjectStore] Adding " << o->path() << endl; m_objects.insert(new TreeNode<GraphObject*>(o->path(), o)); } @@ -79,7 +79,7 @@ ObjectStore::add(GraphObject* o) void ObjectStore::add(TreeNode<GraphObject*>* tn) { - //cerr << "[ObjectStore] Adding " << tn->key() << endl; + cerr << "[ObjectStore] Adding " << tn->key() << endl; m_objects.insert(tn); } @@ -97,8 +97,8 @@ ObjectStore::remove(const string& path) if (removed == NULL) cerr << "[ObjectStore] WARNING: Removing " << path << " failed." << endl; - //else - // cerr << "[ObjectStore] Removed " << path << endl; + else + cerr << "[ObjectStore] Removed " << path << endl; return removed; } |