Fixes for building w/o DSSI.
git-svn-id: http://svn.drobilla.net/lad@139 a436a847-0d15-0410-975c-d299462d15a1
This commit is contained in:
parent
64370e1bfa
commit
9f1d0d1d66
|
@ -75,7 +75,6 @@ protected:
|
|||
void add_program(int bank, int program, const string& name);
|
||||
void remove_program(int bank, int program);
|
||||
|
||||
//void plugin(CountedPtr<PluginModel> p) { m_plugin = p; }
|
||||
virtual void clear();
|
||||
|
||||
friend class PatchModel;
|
||||
|
|
|
@ -288,7 +288,7 @@ AlsaMidiDriver::deactivate()
|
|||
}
|
||||
|
||||
|
||||
/** Build flat arrays of events for DSSI plugins for each Port.
|
||||
/** Build flat arrays of events to be used as input for the given cycle.
|
||||
*/
|
||||
void
|
||||
AlsaMidiDriver::prepare_block(const SampleCount block_start, const SampleCount block_end)
|
||||
|
|
|
@ -155,7 +155,7 @@ JackMidiDriver::deactivate()
|
|||
}
|
||||
|
||||
|
||||
/** Build flat arrays of events for DSSI plugins for each Port.
|
||||
/** Build flat arrays of events to be used as input for the given cycle.
|
||||
*/
|
||||
void
|
||||
JackMidiDriver::prepare_block(const SampleCount block_start, const SampleCount block_end)
|
||||
|
|
|
@ -114,13 +114,13 @@ NodeFactory::load_plugins()
|
|||
_plugins.clear();
|
||||
_plugins = _internal_plugins;
|
||||
|
||||
#if HAVE_SLV2
|
||||
#ifdef HAVE_SLV2
|
||||
load_lv2_plugins();
|
||||
#endif
|
||||
#if HAVE_DSSI
|
||||
#ifdef HAVE_DSSI
|
||||
load_dssi_plugins();
|
||||
#endif
|
||||
#if HAVE_LADSPA
|
||||
#ifdef HAVE_LADSPA
|
||||
load_ladspa_plugins();
|
||||
#endif
|
||||
|
||||
|
@ -182,17 +182,17 @@ NodeFactory::load_plugin(const Plugin* a_plugin,
|
|||
}
|
||||
|
||||
switch (a_plugin->type()) {
|
||||
#if HAVE_SLV2
|
||||
#ifdef HAVE_SLV2
|
||||
case Plugin::LV2:
|
||||
r = load_lv2_plugin(plugin->uri(), name, poly, parent, srate, buffer_size);
|
||||
break;
|
||||
#endif
|
||||
#if HAVE_DSSI
|
||||
#ifdef HAVE_DSSI
|
||||
case Plugin::DSSI:
|
||||
r = load_dssi_plugin(plugin->uri(), name, poly, parent, srate, buffer_size);
|
||||
break;
|
||||
#endif
|
||||
#if HAVE_LADSPA
|
||||
#ifdef HAVE_LADSPA
|
||||
case Plugin::LADSPA:
|
||||
r = load_ladspa_plugin(plugin->uri(), name, poly, parent, srate, buffer_size);
|
||||
break;
|
||||
|
@ -318,7 +318,7 @@ NodeFactory::load_lv2_plugin(const string& plug_uri,
|
|||
#endif // HAVE_SLV2
|
||||
|
||||
|
||||
#if HAVE_DSSI
|
||||
#ifdef HAVE_DSSI
|
||||
|
||||
/** Loads information about all DSSI plugins into internal plugin database.
|
||||
*/
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
*/
|
||||
|
||||
#include "QueuedEngineInterface.h"
|
||||
#include "config.h"
|
||||
#include "QueuedEventSource.h"
|
||||
#include "events.h"
|
||||
#include "util/Queue.h"
|
||||
|
@ -258,7 +259,9 @@ QueuedEngineInterface::set_program(const string& node_path,
|
|||
uint32_t bank,
|
||||
uint32_t program)
|
||||
{
|
||||
#ifdef HAVE_DSSI
|
||||
push_queued(new DSSIProgramEvent(*_engine.get(), _responder, now(), node_path, bank, program));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue