summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/BufferFactory.cpp8
-rw-r--r--src/server/BufferFactory.hpp8
-rw-r--r--src/server/InputPort.cpp2
-rw-r--r--src/server/OutputPort.cpp2
4 files changed, 10 insertions, 10 deletions
diff --git a/src/server/BufferFactory.cpp b/src/server/BufferFactory.cpp
index b15e0bb7..6390a36b 100644
--- a/src/server/BufferFactory.cpp
+++ b/src/server/BufferFactory.cpp
@@ -96,10 +96,10 @@ BufferFactory::default_size(LV2_URID type) const
}
BufferRef
-BufferFactory::get(LV2_URID type,
- uint32_t capacity,
- bool real_time,
- bool force_create)
+BufferFactory::get_buffer(LV2_URID type,
+ uint32_t capacity,
+ bool real_time,
+ bool force_create)
{
std::atomic<Buffer*>& head_ptr = free_list(type);
Buffer* try_head = NULL;
diff --git a/src/server/BufferFactory.hpp b/src/server/BufferFactory.hpp
index 8c0f5db9..fc9c5515 100644
--- a/src/server/BufferFactory.hpp
+++ b/src/server/BufferFactory.hpp
@@ -49,10 +49,10 @@ public:
static uint32_t audio_buffer_size(SampleCount nframes);
uint32_t default_size(LV2_URID type) const;
- BufferRef get(LV2_URID type,
- uint32_t capacity,
- bool real_time,
- bool force_create = false);
+ BufferRef get_buffer(LV2_URID type,
+ uint32_t capacity,
+ bool real_time,
+ bool force_create = false);
BufferRef silent_buffer();
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp
index 94e451c0..9002dbab 100644
--- a/src/server/InputPort.cpp
+++ b/src/server/InputPort.cpp
@@ -106,7 +106,7 @@ InputPort::get_buffers(BufferFactory& bufs,
// Otherwise, allocate local buffers
for (uint32_t v = 0; v < poly; ++v) {
buffers->at(v).reset();
- buffers->at(v) = bufs.get(buffer_type(), _buffer_size, real_time);
+ buffers->at(v) = bufs.get_buffer(buffer_type(), _buffer_size, real_time);
buffers->at(v)->clear();
}
return true;
diff --git a/src/server/OutputPort.cpp b/src/server/OutputPort.cpp
index 94e166bd..6b7329e5 100644
--- a/src/server/OutputPort.cpp
+++ b/src/server/OutputPort.cpp
@@ -54,7 +54,7 @@ OutputPort::get_buffers(BufferFactory& bufs,
bool real_time) const
{
for (uint32_t v = 0; v < poly; ++v)
- buffers->at(v) = bufs.get(buffer_type(), _buffer_size, real_time);
+ buffers->at(v) = bufs.get_buffer(buffer_type(), _buffer_size, real_time);
return true;
}