summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/InputPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/InputPort.cpp')
-rw-r--r--src/libs/engine/InputPort.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/engine/InputPort.cpp b/src/libs/engine/InputPort.cpp
index 6a4de550..05f2de9a 100644
--- a/src/libs/engine/InputPort.cpp
+++ b/src/libs/engine/InputPort.cpp
@@ -20,7 +20,7 @@
#include <cstdlib>
#include <cassert>
#include "AudioBuffer.hpp"
-#include "Connection.hpp"
+#include "ConnectionImpl.hpp"
#include "OutputPort.hpp"
#include "NodeImpl.hpp"
#include "ProcessContext.hpp"
@@ -43,7 +43,7 @@ InputPort::set_buffer_size(size_t size)
PortImpl::set_buffer_size(size);
assert(_buffer_size = size);
- for (Raul::List<Connection*>::iterator c = _connections.begin(); c != _connections.end(); ++c)
+ for (Raul::List<ConnectionImpl*>::iterator c = _connections.begin(); c != _connections.end(); ++c)
(*c)->set_buffer_size(size);
}
@@ -55,7 +55,7 @@ InputPort::set_buffer_size(size_t size)
* if there is only one connection, since no mixing needs to take place.
*/
void
-InputPort::add_connection(Raul::ListNode<Connection*>* const c)
+InputPort::add_connection(Raul::ListNode<ConnectionImpl*>* const c)
{
_connections.push_back(c);
@@ -85,13 +85,13 @@ InputPort::add_connection(Raul::ListNode<Connection*>* const c)
/** Remove a connection. Realtime safe.
*/
-Raul::ListNode<Connection*>*
+Raul::ListNode<ConnectionImpl*>*
InputPort::remove_connection(const OutputPort* src_port)
{
bool modify_buffers = !_fixed_buffers;
bool found = false;
- Raul::ListNode<Connection*>* connection = NULL;
+ Raul::ListNode<ConnectionImpl*>* connection = NULL;
for (Connections::iterator i = _connections.begin(); i != _connections.end(); ++i) {
if ((*i)->src_port()->path() == src_port->path()) {
connection = _connections.erase(i);