summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/buffer_set.h6
-rw-r--r--libs/ardour/ardour/plugin_manager.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/libs/ardour/ardour/buffer_set.h b/libs/ardour/ardour/buffer_set.h
index 9ba44e9481..05e0e42d1f 100644
--- a/libs/ardour/ardour/buffer_set.h
+++ b/libs/ardour/ardour/buffer_set.h
@@ -41,7 +41,7 @@ class Buffer;
class AudioBuffer;
class MidiBuffer;
class PortSet;
-#ifdef HAVE_SLV2
+#ifdef LV2_SUPPORT
class LV2EventBuffer;
#endif
@@ -108,7 +108,7 @@ public:
return (const MidiBuffer&)get(DataType::MIDI, i);
}
-#ifdef HAVE_SLV2
+#ifdef LV2_SUPPORT
/** Get a MIDI buffer translated into an LV2 MIDI buffer for use with plugins.
* The index here corresponds directly to MIDI buffer numbers (i.e. the index
* passed to get_midi), translation back and forth will happen as needed */
@@ -170,7 +170,7 @@ private:
/// Vector of vectors, indexed by DataType
std::vector<BufferVec> _buffers;
-#ifdef HAVE_SLV2
+#ifdef LV2_SUPPORT
/// LV2 MIDI buffers (for conversion to/from MIDI buffers)
typedef std::vector< std::pair<bool, LV2EventBuffer*> > LV2Buffers;
LV2Buffers _lv2_buffers;
diff --git a/libs/ardour/ardour/plugin_manager.h b/libs/ardour/ardour/plugin_manager.h
index b7385ad0aa..2d60bf53f6 100644
--- a/libs/ardour/ardour/plugin_manager.h
+++ b/libs/ardour/ardour/plugin_manager.h
@@ -33,7 +33,7 @@
#include "ardour/types.h"
#include "ardour/plugin.h"
-#ifdef HAVE_SLV2
+#ifdef LV2_SUPPORT
#include "ardour/lv2_plugin.h"
#endif
@@ -56,7 +56,7 @@ class PluginManager : public boost::noncopyable {
int add_ladspa_directory (std::string dirpath);
int add_vst_directory (std::string dirpath);
-#ifdef HAVE_SLV2
+#ifdef LV2_SUPPORT
LV2World* lv2_world() { return _lv2_world; }
#endif
@@ -107,7 +107,7 @@ class PluginManager : public boost::noncopyable {
ARDOUR::PluginInfoList* _lv2_plugin_info;
ARDOUR::PluginInfoList* _au_plugin_info;
-#ifdef HAVE_SLV2
+#ifdef LV2_SUPPORT
LV2World* _lv2_world;
#endif