Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
3be76947
Commit
3be76947
authored
Oct 05, 2009
by
Alexandre Savard
Browse files
[#2209] Change frameSize speex 32kHz
parent
c8293ff1
Changes
1
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/audio/codecs/speexcodec_ub.cpp
View file @
3be76947
...
...
@@ -80,10 +80,10 @@ class Speex : public AudioCodec
speex_encoder_ctl
(
_speex_enc_state
,
SPEEX_SET_COMPLEXITY
,
&
complex
);
// Init the decoder struct
speex_decoder_ctl
(
_speex_dec_state
,
SPEEX_GET_FRAME_SIZE
,
&
_
speex_
frame
_s
ize
);
speex_decoder_ctl
(
_speex_dec_state
,
SPEEX_GET_FRAME_SIZE
,
&
_frame
S
ize
);
// Init the preprocess struct
_preprocess_state
=
speex_preprocess_state_init
(
_
speex_
frame
_s
ize
,
_clockRate
);
_preprocess_state
=
speex_preprocess_state_init
(
_frame
S
ize
,
_clockRate
);
speex_preprocess_ctl
(
_preprocess_state
,
SPEEX_PREPROCESS_SET_DENOISE
,
&
enable
);
speex_preprocess_ctl
(
_preprocess_state
,
SPEEX_PREPROCESS_SET_NOISE_SUPPRESS
,
&
attenuation
);
speex_preprocess_ctl
(
_preprocess_state
,
SPEEX_PREPROCESS_SET_VAD
,
&
enable
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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