diff options
author | David Robillard <d@drobilla.net> | 2014-08-31 01:24:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-08-31 01:24:57 +0000 |
commit | a2792bd09212eed55bba1aa30dc09043a6955486 (patch) | |
tree | d4262f760d4522bc6f1c99778987aada332b9e7e /src/server/BufferFactory.hpp | |
parent | e3ecb2b439bd03d27b5e11efe430c24f0ebe6283 (diff) | |
download | ingen-a2792bd09212eed55bba1aa30dc09043a6955486.tar.gz ingen-a2792bd09212eed55bba1aa30dc09043a6955486.tar.bz2 ingen-a2792bd09212eed55bba1aa30dc09043a6955486.zip |
Use float sequences for sample-accurate control ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5462 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/BufferFactory.hpp')
-rw-r--r-- | src/server/BufferFactory.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/BufferFactory.hpp b/src/server/BufferFactory.hpp index 54c02c77..662c8149 100644 --- a/src/server/BufferFactory.hpp +++ b/src/server/BufferFactory.hpp @@ -48,6 +48,7 @@ public: uint32_t default_size(LV2_URID type) const; BufferRef get_buffer(LV2_URID type, + LV2_URID value_type, uint32_t capacity, bool real_time, bool force_create = false); @@ -65,7 +66,7 @@ private: friend class Buffer; void recycle(Buffer* buf); - BufferRef create(LV2_URID type, uint32_t capacity=0); + BufferRef create(LV2_URID type, LV2_URID value_type, uint32_t capacity=0); inline std::atomic<Buffer*>& free_list(LV2_URID type) { if (type == _uris.atom_Float) { |