Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
Opus
Commits
d3dc19ba
Commit
d3dc19ba
authored
14 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
SILK/CELT update
parent
3acddca2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
celt
+1
-1
1 addition, 1 deletion
celt
silk
+1
-1
1 addition, 1 deletion
silk
src/opus_encoder.c
+2
-2
2 additions, 2 deletions
src/opus_encoder.c
with
4 additions
and
4 deletions
celt
@
c79c4e3b
Subproject commit
e3d39fe
c7c4
4d1841e817d3b1986bfdc4d0863a9
Subproject commit c7
9
c4
e3bc7270b08a2800a2dd9d9a5f02767024d
This diff is collapsed.
Click to expand it.
silk
@
1bf4f971
Subproject commit
8930d2fa66a775040b264d9d2c5950fd403bb267
Subproject commit
1bf4f9715a93209f681664f2c46cb5a25ee7aaf8
This diff is collapsed.
Click to expand it.
src/opus_encoder.c
+
2
−
2
View file @
d3dc19ba
...
...
@@ -155,9 +155,9 @@ int opus_encode(OpusEncoder *st, const short *pcm, int frame_size,
/* Call SILK encoder for the low band */
nBytes
=
max_data_bytes
-
1
;
if
(
prefill
)
SKP_Silk_SDK_Encode
r_prefill_buffer
(
st
->
silk_enc
,
&
st
->
silk_mode
,
st
->
delay_buffer
,
ENCODER_BUFFER
);
SKP_Silk_SDK_Encode
(
st
->
silk_enc
,
&
st
->
silk_mode
,
st
->
delay_buffer
,
ENCODER_BUFFER
,
NULL
,
0
,
1
);
ret
=
SKP_Silk_SDK_Encode
(
st
->
silk_enc
,
&
st
->
silk_mode
,
pcm
,
frame_size
,
&
enc
,
&
nBytes
);
ret
=
SKP_Silk_SDK_Encode
(
st
->
silk_enc
,
&
st
->
silk_mode
,
pcm
,
frame_size
,
&
enc
,
&
nBytes
,
0
);
if
(
ret
)
{
fprintf
(
stderr
,
"SILK encode error: %d
\n
"
,
ret
);
/* Handle error */
...
...
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