#include <string>
#include <dlfcn.h>
-#include <sigc++/signal.h>
#include "pbd/stateful.h"
_instance = NULL;
}
- void set_block_size (nframes_t /*nframes*/) {}
+ int set_block_size (nframes_t /*nframes*/) { return 0; }
int connect_and_run (BufferSet& bufs,
ChanMapping in, ChanMapping out,
static uint32_t midi_event_type() { return _midi_event_type; }
XMLNode& get_state();
- int set_state(const XMLNode& node);
+ int set_state(const XMLNode& node, int version);
bool save_preset(std::string uri);
- bool load_preset(const std::string uri);
+ bool load_preset(const std::string& uri);
virtual std::vector<Plugin::PresetRecord> get_presets();
bool has_editor() const;
SLV2Value srate;
SLV2Value gtk_gui;
SLV2Value external_gui;
- SLV2Value logarithmic;
+ SLV2Value logarithmic;
};
public:
LV2PluginInfo (void* slv2_world, void* slv2_plugin);;
~LV2PluginInfo ();;
- static PluginInfoList discover (void* slv2_world);
+ static PluginInfoList* discover (void* slv2_world);
PluginPtr load (Session& session);