summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/InputPort.cpp3
-rw-r--r--src/libs/engine/NodeFactory.cpp8
2 files changed, 8 insertions, 3 deletions
diff --git a/src/libs/engine/InputPort.cpp b/src/libs/engine/InputPort.cpp
index 6466dee3..5025f6e3 100644
--- a/src/libs/engine/InputPort.cpp
+++ b/src/libs/engine/InputPort.cpp
@@ -183,9 +183,6 @@ InputPort::pre_process(SampleCount nframes, FrameTime start, FrameTime end)
for (uint32_t i=0; i < _poly; ++i)
_buffers.at(i)->prepare_read(nframes);
- if (_type == DataType::MIDI)
- cerr << path() << " nevents: " << ((MidiBuffer*)_buffers.at(0))->event_count() << endl;
-
if (!do_mixdown) {
assert(_buffers.at(0)->is_joined_to((*_connections.begin())->buffer(0)));
return;
diff --git a/src/libs/engine/NodeFactory.cpp b/src/libs/engine/NodeFactory.cpp
index b491c0c8..dfc8c194 100644
--- a/src/libs/engine/NodeFactory.cpp
+++ b/src/libs/engine/NodeFactory.cpp
@@ -136,6 +136,8 @@ NodeFactory::plugin(const string& type, const string& lib, const string& label)
if ((*i)->type_string() == type && (*i)->lib_name() == lib && (*i)->plug_label() == label)
return (*i);
+ cerr << "ERROR: Failed to find " << type << " plugin " << lib << " / " << label << endl;
+
return NULL;
}
@@ -565,6 +567,12 @@ NodeFactory::load_ladspa_plugins()
full_lib_name = dir +"/"+ pfile->d_name;
+ // Ignore stupid libtool files. Kludge alert.
+ if (full_lib_name.substr(full_lib_name.length()-3) == ".la") {
+ cerr << "WARNING: Skipping stupid libtool file " << pfile->d_name << endl;
+ continue;
+ }
+
Glib::Module* plugin_library = library(full_lib_name);
if (!plugin_library) {
cerr << "WARNING: Failed to load library " << full_lib_name << endl;