diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/ConnectionImpl.cpp | 2 | ||||
-rw-r--r-- | src/engine/ConnectionImpl.hpp | 2 | ||||
-rw-r--r-- | src/engine/EventSink.hpp | 4 | ||||
-rw-r--r-- | src/engine/MessageContext.hpp | 10 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/engine/ConnectionImpl.cpp b/src/engine/ConnectionImpl.cpp index 40530694..a69a9e05 100644 --- a/src/engine/ConnectionImpl.cpp +++ b/src/engine/ConnectionImpl.cpp @@ -56,7 +56,7 @@ ConnectionImpl::ConnectionImpl(BufferFactory& bufs, PortImpl* src_port, PortImpl assert(src_port->path() != dst_port->path()); if (must_queue()) - _queue = new Raul::RingBuffer<LV2_Atom>(src_port->buffer_size() * 2); + _queue = new Raul::RingBuffer(src_port->buffer_size() * 2); } diff --git a/src/engine/ConnectionImpl.hpp b/src/engine/ConnectionImpl.hpp index e08d0ec4..ea38226f 100644 --- a/src/engine/ConnectionImpl.hpp +++ b/src/engine/ConnectionImpl.hpp @@ -96,7 +96,7 @@ public: protected: void dump() const; - Raul::RingBuffer<LV2_Atom>* _queue; + Raul::RingBuffer* _queue; BufferFactory& _bufs; PortImpl* const _src_port; diff --git a/src/engine/EventSink.hpp b/src/engine/EventSink.hpp index ff5d5d83..1040df6b 100644 --- a/src/engine/EventSink.hpp +++ b/src/engine/EventSink.hpp @@ -48,8 +48,8 @@ public: bool read(uint32_t event_buffer_size, uint8_t* event_buffer); private: - Engine& _engine; - Raul::RingBuffer<uint8_t> _events; + Engine& _engine; + Raul::RingBuffer _events; }; diff --git a/src/engine/MessageContext.hpp b/src/engine/MessageContext.hpp index 23ddf14c..a33f8836 100644 --- a/src/engine/MessageContext.hpp +++ b/src/engine/MessageContext.hpp @@ -90,11 +90,11 @@ protected: /** Execute a request (possibly enqueueing more requests) */ void execute(const Request& req); - Raul::Semaphore _sem; - Raul::RingBuffer<Request> _requests; - Glib::Mutex _mutex; - Glib::Cond _cond; - Request _non_rt_request; + Raul::Semaphore _sem; + Raul::RingBuffer _requests; + Glib::Mutex _mutex; + Glib::Cond _cond; + Request _non_rt_request; struct RequestEarlier { bool operator()(const Request& r1, const Request& r2) { |