[SCM] calf/master: Ignore data type for now, to help diagnosing restore issue with Ardour.
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:40:33 UTC 2013
The following commit has been merged in the master branch:
commit b51a5f0544927dc9712903fde4d226f45f4b18e6
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Sat Jan 1 00:35:10 2011 +0000
Ignore data type for now, to help diagnosing restore issue with Ardour.
diff --git a/src/calf/lv2wrap.h b/src/calf/lv2wrap.h
index 11239c8..35f746b 100644
--- a/src/calf/lv2wrap.h
+++ b/src/calf/lv2wrap.h
@@ -99,8 +99,10 @@ struct lv2_instance: public plugin_ctl_iface, public progress_report_iface
size_t len = 0;
uint32_t type = 0;
const void *ptr = (*retrieve)(callback_data, vars[i], &len, &type);
- if (ptr && type == string_type)
+ if (ptr)
{
+ if (type != string_type)
+ fprintf(stderr, "Warning: type is %d, expected %d\n", (int)type, (int)string_type);
printf("Calling configure on %s\n", vars[i]);
configure(vars[i], std::string((const char *)ptr, len).c_str());
}
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list