summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-14 17:59:16 +0000
committerDavid Robillard <d@drobilla.net>2011-05-14 17:59:16 +0000
commitc78528dcea03a61685ad0586eaa6302847af6fe9 (patch)
treea887d3fca2259d76513acc30b0bd6e5f634dbe42 /libs/ardour/ardour
parent8fc47ac2aeea87bc24a9798c3880441296c55804 (diff)
Use LV2_SUPPORT define instead of HAVE_SLV2.
git-svn-id: svn://localhost/ardour2/branches/3.0@9510 d708f5d6-7413-0410-9779-e7cbd77b26cf
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