summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/buffer_set.h
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/buffer_set.h
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/buffer_set.h')
-rw-r--r--libs/ardour/ardour/buffer_set.h6
1 files changed, 3 insertions, 3 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;