Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
1fe0f48e
Commit
1fe0f48e
authored
6 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
ringbuffer, ringbufferpool: cleanup
Change-Id: Ia7818aaa83307d5ff8bebe9681182bcec5d16e9b
parent
a60250bc
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/media/audio/ringbuffer.h
+156
-157
156 additions, 157 deletions
src/media/audio/ringbuffer.h
src/media/audio/ringbufferpool.h
+86
-90
86 additions, 90 deletions
src/media/audio/ringbufferpool.h
with
242 additions
and
247 deletions
src/media/audio/ringbuffer.h
+
156
−
157
View file @
1fe0f48e
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
#include
<vector>
#include
<vector>
#include
<fstream>
#include
<fstream>
namespace
ring
{
namespace
ring
{
/**
/**
...
...
This diff is collapsed.
Click to expand it.
src/media/audio/ringbufferpool.h
+
86
−
90
View file @
1fe0f48e
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment