Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mark Harris
Opus
Commits
105d751c
Commit
105d751c
authored
Apr 29, 2011
by
Jean-Marc Valin
Browse files
Fixes 60 ms speech mode
parent
7009c722
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/opus_encoder.c
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
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment