From d349a2eb5934eb7505ae167f68f7772d55623628 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 27 Jan 2013 16:15:21 +0000 Subject: Rename BufferFactory::get() to BufferFactory::get_buffer() for grepability. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5013 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/BufferFactory.cpp | 8 ++++---- src/server/BufferFactory.hpp | 8 ++++---- src/server/InputPort.cpp | 2 +- src/server/OutputPort.cpp | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/server') 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& 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; } -- cgit v1.2.1