summaryrefslogtreecommitdiffstats
path: root/src/server/OutputPort.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-01 16:44:45 +0000
committerDavid Robillard <d@drobilla.net>2011-10-01 16:44:45 +0000
commit55c9839597021cb01b290b442ad0c9054b934520 (patch)
treeff0c73db270dc4896d87ad3d1ca49aa6441abb0f /src/server/OutputPort.cpp
parent625e1c0c58931caec50cdbe5be80312550be4991 (diff)
downloadingen-55c9839597021cb01b290b442ad0c9054b934520.tar.gz
ingen-55c9839597021cb01b290b442ad0c9054b934520.tar.bz2
ingen-55c9839597021cb01b290b442ad0c9054b934520.zip
Make PortImpl::get_buffers const.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3520 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/OutputPort.cpp')
-rw-r--r--src/server/OutputPort.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/OutputPort.cpp b/src/server/OutputPort.cpp
index c96c6b04..ca217b49 100644
--- a/src/server/OutputPort.cpp
+++ b/src/server/OutputPort.cpp
@@ -46,7 +46,9 @@ OutputPort::OutputPort(BufferFactory& bufs,
}
bool
-OutputPort::get_buffers(BufferFactory& bufs, Raul::Array<BufferFactory::Ref>* buffers, uint32_t poly)
+OutputPort::get_buffers(BufferFactory& bufs,
+ Raul::Array<BufferFactory::Ref>* buffers,
+ uint32_t poly) const
{
for (uint32_t v = 0; v < poly; ++v)
buffers->at(v) = bufs.get(buffer_type(), _buffer_size);