Skip to content
Snippets Groups Projects
Commit 1fe0f48e authored by Adrien Béraud's avatar Adrien Béraud
Browse files

ringbuffer, ringbufferpool: cleanup

Change-Id: Ia7818aaa83307d5ff8bebe9681182bcec5d16e9b
parent a60250bc
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include <vector> #include <vector>
#include <fstream> #include <fstream>
namespace ring { namespace ring {
/** /**
......
...@@ -39,7 +39,6 @@ class RingBufferPool { ...@@ -39,7 +39,6 @@ class RingBufferPool {
static const char * const DEFAULT_ID; static const char * const DEFAULT_ID;
RingBufferPool(); RingBufferPool();
~RingBufferPool(); ~RingBufferPool();
int getInternalSamplingRate() const { int getInternalSamplingRate() const {
...@@ -122,13 +121,10 @@ class RingBufferPool { ...@@ -122,13 +121,10 @@ class RingBufferPool {
NON_COPYABLE(RingBufferPool); NON_COPYABLE(RingBufferPool);
// A set of RingBuffers readable by a call // A set of RingBuffers readable by a call
typedef std::set<std::shared_ptr<RingBuffer>, using ReadBindings = std::set<std::shared_ptr<RingBuffer>, std::owner_less<std::shared_ptr<RingBuffer>>>;
std::owner_less<std::shared_ptr<RingBuffer>> > ReadBindings;
const RingBufferPool::ReadBindings*
getReadBindings(const std::string& call_id) const;
RingBufferPool::ReadBindings* getReadBindings(const std::string& call_id); const ReadBindings* getReadBindings(const std::string& call_id) const;
ReadBindings* getReadBindings(const std::string& call_id);
void removeReadBindings(const std::string& call_id); void removeReadBindings(const std::string& call_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment