summaryrefslogtreecommitdiffstats
path: root/src/engine/PortImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/PortImpl.cpp')
-rw-r--r--src/engine/PortImpl.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/engine/PortImpl.cpp b/src/engine/PortImpl.cpp
index a2bb594b..198a43b5 100644
--- a/src/engine/PortImpl.cpp
+++ b/src/engine/PortImpl.cpp
@@ -39,7 +39,6 @@ namespace Ingen {
using namespace Shared;
-
PortImpl::PortImpl(BufferFactory& bufs,
NodeImpl* const node,
const Raul::Symbol& name,
@@ -78,20 +77,17 @@ PortImpl::PortImpl(BufferFactory& bufs,
_broadcast = true; // send activity blips
}
-
PortImpl::~PortImpl()
{
delete _buffers;
}
-
bool
PortImpl::supports(const Raul::URI& value_type) const
{
return has_property(_bufs.uris().atom_supports, value_type);
}
-
Raul::Array<BufferFactory::Ref>*
PortImpl::set_buffers(Raul::Array<BufferFactory::Ref>* buffers)
{
@@ -108,7 +104,6 @@ PortImpl::set_buffers(Raul::Array<BufferFactory::Ref>* buffers)
return ret;
}
-
bool
PortImpl::prepare_poly(BufferFactory& bufs, uint32_t poly)
{
@@ -130,7 +125,6 @@ PortImpl::prepare_poly(BufferFactory& bufs, uint32_t poly)
return true;
}
-
void
PortImpl::prepare_poly_buffers(BufferFactory& bufs)
{
@@ -138,7 +132,6 @@ PortImpl::prepare_poly_buffers(BufferFactory& bufs)
get_buffers(bufs, _prepared_buffers, _prepared_buffers->size());
}
-
bool
PortImpl::apply_poly(Maid& maid, uint32_t poly)
{
@@ -171,7 +164,6 @@ PortImpl::apply_poly(Maid& maid, uint32_t poly)
return true;
}
-
void
PortImpl::set_buffer_size(Context& context, BufferFactory& bufs, size_t size)
{
@@ -183,7 +175,6 @@ PortImpl::set_buffer_size(Context& context, BufferFactory& bufs, size_t size)
connect_buffers();
}
-
void
PortImpl::connect_buffers(SampleCount offset)
{
@@ -191,7 +182,6 @@ PortImpl::connect_buffers(SampleCount offset)
PortImpl::parent_node()->set_port_buffer(v, _index, buffer(v), offset);
}
-
void
PortImpl::recycle_buffers()
{
@@ -199,7 +189,6 @@ PortImpl::recycle_buffers()
_buffers->at(v) = NULL;
}
-
void
PortImpl::clear_buffers()
{
@@ -207,7 +196,6 @@ PortImpl::clear_buffers()
buffer(v)->clear();
}
-
void
PortImpl::broadcast_value(Context& context, bool force)
{
@@ -238,7 +226,6 @@ PortImpl::broadcast_value(Context& context, bool force)
}
}
-
void
PortImpl::set_context(Context::ID c)
{
@@ -254,7 +241,6 @@ PortImpl::set_context(Context::ID c)
}
}
-
PortType
PortImpl::buffer_type() const
{
@@ -262,5 +248,4 @@ PortImpl::buffer_type() const
return *_types.begin();
}
-
} // namespace Ingen