diff options
author | David Robillard <d@drobilla.net> | 2011-05-14 17:59:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-14 17:59:16 +0000 |
commit | c78528dcea03a61685ad0586eaa6302847af6fe9 (patch) | |
tree | a887d3fca2259d76513acc30b0bd6e5f634dbe42 /libs/ardour/buffer_set.cc | |
parent | 8fc47ac2aeea87bc24a9798c3880441296c55804 (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/buffer_set.cc')
-rw-r--r-- | libs/ardour/buffer_set.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/buffer_set.cc b/libs/ardour/buffer_set.cc index 281e6303fa..46069e83b4 100644 --- a/libs/ardour/buffer_set.cc +++ b/libs/ardour/buffer_set.cc @@ -31,7 +31,7 @@ #include "ardour/port.h" #include "ardour/port_set.h" #include "ardour/audioengine.h" -#ifdef HAVE_SLV2 +#ifdef LV2_SUPPORT #include "ardour/lv2_plugin.h" #include "ardour/lv2_event_buffer.h" #endif @@ -178,7 +178,7 @@ BufferSet::ensure_buffers(DataType type, size_t num_buffers, size_t buffer_capac _count.set (type, num_buffers); } -#ifdef HAVE_SLV2 +#ifdef LV2_SUPPORT // Ensure enough low level MIDI format buffers are available for conversion // in both directions (input & output, out-of-place) if (type == DataType::MIDI && _lv2_buffers.size() < _buffers[type].size() * 2 + 1) { @@ -240,7 +240,7 @@ BufferSet::get(DataType type, size_t i) const return *_buffers[type][i]; } -#ifdef HAVE_SLV2 +#ifdef LV2_SUPPORT LV2EventBuffer& BufferSet::get_lv2_midi(bool input, size_t i) @@ -293,7 +293,7 @@ BufferSet::flush_lv2_midi(bool input, size_t i) } } -#endif /* HAVE_SLV2 */ +#endif /* LV2_SUPPORT */ #ifdef VST_SUPPORT |