diff options
author | David Robillard <d@drobilla.net> | 2012-04-23 02:32:33 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-23 02:32:33 +0000 |
commit | 8d1e92ab0655d4ede8ea17358d678b3a5aabc1bc (patch) | |
tree | 2dff94cd90ca026f2f4e0e490da03762cc924680 /src/server/events | |
parent | 8601ab0fe6c5782cc38de48576eb2f7c4fb2ccef (diff) | |
download | ingen-8d1e92ab0655d4ede8ea17358d678b3a5aabc1bc.tar.gz ingen-8d1e92ab0655d4ede8ea17358d678b3a5aabc1bc.tar.bz2 ingen-8d1e92ab0655d4ede8ea17358d678b3a5aabc1bc.zip |
Localise buffer reference stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4252 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/Connect.cpp | 2 | ||||
-rw-r--r-- | src/server/events/Connect.hpp | 2 | ||||
-rw-r--r-- | src/server/events/Disconnect.cpp | 2 | ||||
-rw-r--r-- | src/server/events/Disconnect.hpp | 12 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/server/events/Connect.cpp b/src/server/events/Connect.cpp index bda3fc4c..f61a5cd1 100644 --- a/src/server/events/Connect.cpp +++ b/src/server/events/Connect.cpp @@ -145,7 +145,7 @@ Connect::pre_process() _dst_input_port->increment_num_connections(); } - _buffers = new Raul::Array<BufferFactory::Ref>(_dst_input_port->poly()); + _buffers = new Raul::Array<BufferRef>(_dst_input_port->poly()); _dst_input_port->get_buffers(*_engine.buffer_factory(), _buffers, _dst_input_port->poly()); diff --git a/src/server/events/Connect.hpp b/src/server/events/Connect.hpp index afc4f5fe..f4544272 100644 --- a/src/server/events/Connect.hpp +++ b/src/server/events/Connect.hpp @@ -71,7 +71,7 @@ private: SharedPtr<ConnectionImpl> _connection; - Raul::Array<BufferFactory::Ref>* _buffers; + Raul::Array<BufferRef>* _buffers; }; } // namespace Events diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp index 5fcc12b4..ddf3bb1c 100644 --- a/src/server/events/Disconnect.cpp +++ b/src/server/events/Disconnect.cpp @@ -93,7 +93,7 @@ Disconnect::Impl::Impl(Engine& e, _dst_input_port->decrement_num_connections(); if (_dst_input_port->num_connections() == 0) { - _buffers = new Raul::Array<BufferFactory::Ref>(_dst_input_port->poly()); + _buffers = new Raul::Array<BufferRef>(_dst_input_port->poly()); _dst_input_port->get_buffers(*_engine.buffer_factory(), _buffers, _dst_input_port->poly()); diff --git a/src/server/events/Disconnect.hpp b/src/server/events/Disconnect.hpp index c855207c..05ac2aa7 100644 --- a/src/server/events/Disconnect.hpp +++ b/src/server/events/Disconnect.hpp @@ -68,12 +68,12 @@ public: InputPort* dst_port() { return _dst_input_port; } private: - Engine& _engine; - OutputPort* _src_output_port; - InputPort* _dst_input_port; - PatchImpl* _patch; - SharedPtr<ConnectionImpl> _connection; - Raul::Array<BufferFactory::Ref>* _buffers; + Engine& _engine; + OutputPort* _src_output_port; + InputPort* _dst_input_port; + PatchImpl* _patch; + SharedPtr<ConnectionImpl> _connection; + Raul::Array<BufferRef>* _buffers; }; private: |