summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-25 02:11:22 +0000
committerDavid Robillard <d@drobilla.net>2010-12-25 02:11:22 +0000
commit70ae08dce381a848d03c40741c56c5117918b832 (patch)
treef13d082ecdda11de74b4a25a0c1fe50908fc58e4
parenta9c6a95eda8e730f7f1bd603c6eec4ced09643dc (diff)
downloadingen-70ae08dce381a848d03c40741c56c5117918b832.tar.gz
ingen-70ae08dce381a848d03c40741c56c5117918b832.tar.bz2
ingen-70ae08dce381a848d03c40741c56c5117918b832.zip
Remove useless templatification of RingBuffer.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2783 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/engine/ConnectionImpl.cpp2
-rw-r--r--src/engine/ConnectionImpl.hpp2
-rw-r--r--src/engine/EventSink.hpp4
-rw-r--r--src/engine/MessageContext.hpp10
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) {