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
08bf2394
Commit
08bf2394
authored
13 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #9979: codecs: fixed unused variable warnings
parent
0768eb23
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
daemon/src/audio/codecs/g722.cpp
+1
-1
1 addition, 1 deletion
daemon/src/audio/codecs/g722.cpp
daemon/src/audio/codecs/gsmcodec.cpp
+2
-2
2 additions, 2 deletions
daemon/src/audio/codecs/gsmcodec.cpp
with
3 additions
and
3 deletions
daemon/src/audio/codecs/g722.cpp
+
1
−
1
View file @
08bf2394
...
@@ -57,7 +57,7 @@ class G722 : public sfl::AudioCodec {
...
@@ -57,7 +57,7 @@ class G722 : public sfl::AudioCodec {
return
g722_decode
(
dst
,
src
,
buf_size
);
return
g722_decode
(
dst
,
src
,
buf_size
);
}
}
virtual
int
encode
(
unsigned
char
*
dst
,
SFLDataFormat
*
src
,
size_t
buf_size
)
virtual
int
encode
(
unsigned
char
*
dst
,
SFLDataFormat
*
src
,
size_t
/*
buf_size
*/
)
{
{
int
out
=
g722_encode
(
dst
,
src
,
frameSize_
);
int
out
=
g722_encode
(
dst
,
src
,
frameSize_
);
return
out
;
return
out
;
...
...
This diff is collapsed.
Click to expand it.
daemon/src/audio/codecs/gsmcodec.cpp
+
2
−
2
View file @
08bf2394
...
@@ -67,7 +67,7 @@ class Gsm : public sfl::AudioCodec {
...
@@ -67,7 +67,7 @@ class Gsm : public sfl::AudioCodec {
gsm_destroy
(
encode_gsmhandle_
);
gsm_destroy
(
encode_gsmhandle_
);
}
}
virtual
int
decode
(
SFLDataFormat
*
dst
,
unsigned
char
*
src
,
size_t
buf_size
)
virtual
int
decode
(
SFLDataFormat
*
dst
,
unsigned
char
*
src
,
size_t
/*
buf_size
*/
)
{
{
if
(
gsm_decode
(
decode_gsmhandle_
,
(
gsm_byte
*
)
src
,
(
gsm_signal
*
)
dst
)
<
0
)
if
(
gsm_decode
(
decode_gsmhandle_
,
(
gsm_byte
*
)
src
,
(
gsm_signal
*
)
dst
)
<
0
)
throw
std
::
runtime_error
(
"ERROR: gsm_decode
\n
"
);
throw
std
::
runtime_error
(
"ERROR: gsm_decode
\n
"
);
...
@@ -75,7 +75,7 @@ class Gsm : public sfl::AudioCodec {
...
@@ -75,7 +75,7 @@ class Gsm : public sfl::AudioCodec {
return
frameSize_
;
return
frameSize_
;
}
}
virtual
int
encode
(
unsigned
char
*
dst
,
SFLDataFormat
*
src
,
size_t
buf_size
)
virtual
int
encode
(
unsigned
char
*
dst
,
SFLDataFormat
*
src
,
size_t
/*
buf_size
*/
)
{
{
gsm_encode
(
encode_gsmhandle_
,
(
gsm_signal
*
)
src
,
(
gsm_byte
*
)
dst
);
gsm_encode
(
encode_gsmhandle_
,
(
gsm_signal
*
)
src
,
(
gsm_byte
*
)
dst
);
return
33
;
return
33
;
...
...
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