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
e540a7cc
Commit
e540a7cc
authored
16 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
try with the smallest compression (#1143)
parent
315f458e
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
sflphone-common/src/audio/audiortp.cpp
+1
-1
1 addition, 1 deletion
sflphone-common/src/audio/audiortp.cpp
sflphone-common/src/audio/codecs/celtcodec.cpp
+1
-1
1 addition, 1 deletion
sflphone-common/src/audio/codecs/celtcodec.cpp
with
2 additions
and
2 deletions
sflphone-common/src/audio/audiortp.cpp
+
1
−
1
View file @
e540a7cc
...
@@ -410,7 +410,7 @@ AudioRtpRTX::sendSessionFromMic(int timestamp)
...
@@ -410,7 +410,7 @@ AudioRtpRTX::sendSessionFromMic(int timestamp)
}
else
{
}
else
{
int
nbSamplesMax
=
12
8
;
int
nbSamplesMax
=
5
12
;
// no resampling required
// no resampling required
compSize
=
_audiocodec
->
codecEncode
(
micDataEncoded
,
micData
,
nbSample
*
sizeof
(
int16
));
compSize
=
_audiocodec
->
codecEncode
(
micDataEncoded
,
micData
,
nbSample
*
sizeof
(
int16
));
...
...
This diff is collapsed.
Click to expand it.
sflphone-common/src/audio/codecs/celtcodec.cpp
+
1
−
1
View file @
e540a7cc
...
@@ -87,7 +87,7 @@ class Celt : public AudioCodec{
...
@@ -87,7 +87,7 @@ class Celt : public AudioCodec{
virtual
int
codecEncode
(
unsigned
char
*
dst
,
short
*
src
,
unsigned
int
size
)
virtual
int
codecEncode
(
unsigned
char
*
dst
,
short
*
src
,
unsigned
int
size
)
{
{
int
len
=
0
;
int
len
=
0
;
len
=
celt_encode
(
enc
,
(
celt_int16_t
*
)
src
,
(
celt_int16_t
*
)
src
,
dst
,
12
8
);
len
=
celt_encode
(
enc
,
(
celt_int16_t
*
)
src
,
(
celt_int16_t
*
)
src
,
dst
,
5
12
);
// returns the number of bytes writen
// returns the number of bytes writen
return
len
;
return
len
;
}
}
...
...
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