*/
-#define __STDC_FORMAT_MACROS 1
#include <inttypes.h>
#include <vector>
_control_data[i] = _shadow_data[i];
}
}
+
+ assert (_was_activated);
+
_descriptor->run (_handle, nframes);
}
if ((module = dlopen (path.c_str(), RTLD_NOW)) == 0) {
error << string_compose(_("LADSPA: cannot load module from \"%1\""), path) << endmsg;
error << dlerror() << endmsg;
+ return PluginPtr ((Plugin*) 0);
} else {
plugin.reset (new LadspaPlugin (module, session.engine(), session, index, session.frame_rate()));
}