From c78528dcea03a61685ad0586eaa6302847af6fe9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 14 May 2011 17:59:16 +0000 Subject: Use LV2_SUPPORT define instead of HAVE_SLV2. git-svn-id: svn://localhost/ardour2/branches/3.0@9510 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/buffer_set.h | 6 +++--- libs/ardour/ardour/plugin_manager.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libs/ardour/ardour') 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 _buffers; -#ifdef HAVE_SLV2 +#ifdef LV2_SUPPORT /// LV2 MIDI buffers (for conversion to/from MIDI buffers) typedef std::vector< std::pair > 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 -- cgit v1.2.3