[SCM] calf/master: Fix a crash when '!' was specified before a synth plugin.
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:40:13 UTC 2013
The following commit has been merged in the master branch:
commit 389c907dfeecf2524b20b3a713bfc8ee83fd46f8
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Sat May 8 19:20:06 2010 +0100
Fix a crash when '!' was specified before a synth plugin.
diff --git a/src/host_session.cpp b/src/host_session.cpp
index 307a6ba..d0fb374 100644
--- a/src/host_session.cpp
+++ b/src/host_session.cpp
@@ -226,9 +226,9 @@ void host_session::connect()
if (chains.count(i)) {
if (!i)
{
- if (plugins[0]->metadata->get_output_count() < 2)
+ if (plugins[0]->metadata->get_input_count() < 2)
{
- fprintf(stderr, "Cannot connect input to plugin %s - incompatible ports\n", plugins[0]->name.c_str());
+ fprintf(stderr, "Cannot connect input to plugin %s - the plugin no input ports\n", plugins[0]->name.c_str());
} else {
client.connect("system:capture_1", cnp + plugins[0]->get_inputs()[0].name);
client.connect("system:capture_2", cnp + plugins[0]->get_inputs()[1].name);
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list