[SCM] calf/master: + JACK host: fix compilation with LASH (thanks Joeboy&drobilla) and printf format warning (thanks drobilla)
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:39:56 UTC 2013
The following commit has been merged in the master branch:
commit bfe3a83f1596a9ae13df8cde17eabf2213e15f1a
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Sat Jan 2 17:35:28 2010 +0000
+ JACK host: fix compilation with LASH (thanks Joeboy&drobilla) and printf format warning (thanks drobilla)
diff --git a/src/jackhost.cpp b/src/jackhost.cpp
index d529710..1803c5c 100644
--- a/src/jackhost.cpp
+++ b/src/jackhost.cpp
@@ -529,7 +529,7 @@ char *host_session::open_file(const char *name)
try {
remove_all_plugins();
pl.load(name, true);
- printf("Size %d\n", pl.plugins.size());
+ printf("Size %d\n", (int)pl.plugins.size());
for (unsigned int i = 0; i < pl.plugins.size(); i++)
{
preset_list::plugin_snapshot &ps = pl.plugins[i];
@@ -678,7 +678,7 @@ void host_session::update_lash()
if (dict.count("output_name")) client.output_nr = atoi(dict["output_name"].c_str());
if (dict.count("midi_name")) client.midi_nr = atoi(dict["midi_name"].c_str());
preset_list tmp;
- tmp.parse("<presets>"+data+"</presets>");
+ tmp.parse("<presets>"+data+"</presets>", false);
if (tmp.presets.size())
{
printf("Load plugin %s\n", tmp.presets[0].plugin.c_str());
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list