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
105d751c
Commit
105d751c
authored
13 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Fixes 60 ms speech mode
parent
7009c722
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/opus_encoder.c
+3
-1
3 additions, 1 deletion
src/opus_encoder.c
with
3 additions
and
1 deletion
src/opus_encoder.c
+
3
−
1
View file @
105d751c
...
...
@@ -111,7 +111,9 @@ int opus_encode(OpusEncoder *st, const short *pcm, int frame_size,
int
redundancy
=
0
;
int
redundancy_bytes
=
0
;
int
celt_to_silk
=
0
;
short
pcm_buf
[
960
*
2
];
/* TODO: This is 60 only so we can handle 60ms speech/audio switching
it shouldn't bee too hard to reduce to 20 ms if needed */
short
pcm_buf
[
3
*
960
*
2
];
int
nb_compr_bytes
;
int
to_celt
=
0
;
celt_int32
mono_rate
;
...
...
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