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
4270a30d
Commit
4270a30d
authored
13 years ago
by
Rafaël Carré
Browse files
Options
Downloads
Patches
Plain Diff
AudioLayer::putUrgent() : remove unused return value
parent
db83b2a3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sflphone-common/src/audio/audiolayer.cpp
+2
-2
2 additions, 2 deletions
sflphone-common/src/audio/audiolayer.cpp
sflphone-common/src/audio/audiolayer.h
+1
-2
1 addition, 2 deletions
sflphone-common/src/audio/audiolayer.h
with
3 additions
and
4 deletions
sflphone-common/src/audio/audiolayer.cpp
+
2
−
2
View file @
4270a30d
...
...
@@ -48,11 +48,11 @@ void AudioLayer::flushUrgent (void)
}
int
AudioLayer
::
putUrgent
(
void
*
buffer
,
int
toCopy
)
void
AudioLayer
::
putUrgent
(
void
*
buffer
,
int
toCopy
)
{
ost
::
MutexLock
guard
(
_mutex
);
return
_urgentRingBuffer
.
Put
(
buffer
,
toCopy
);
_urgentRingBuffer
.
Put
(
buffer
,
toCopy
);
}
int
AudioLayer
::
putMain
(
void
*
buffer
,
int
toCopy
,
std
::
string
call_id
)
...
...
This diff is collapsed.
Click to expand it.
sflphone-common/src/audio/audiolayer.h
+
1
−
2
View file @
4270a30d
...
...
@@ -134,9 +134,8 @@ class AudioLayer
* Copy data in the urgent buffer.
* @param buffer The buffer containing the data to be played ( ringtones )
* @param toCopy The size of the buffer
* @return int The number of bytes copied in the urgent buffer
*/
int
putUrgent
(
void
*
buffer
,
int
toCopy
);
void
putUrgent
(
void
*
buffer
,
int
toCopy
);
/**
* Put voice data in the main sound buffer
...
...
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