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
d80e9a30
Commit
d80e9a30
authored
May 27, 2010
by
Alexandre Savard
Browse files
[#3443] Init echo canceller using audio layer sampling rate
parent
db945995
Changes
1
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/audio/pulseaudio/pulselayer.cpp
View file @
d80e9a30
...
...
@@ -445,7 +445,7 @@ bool PulseLayer::openDevice (int indexIn UNUSED, int indexOut UNUSED, int indexR
_converter
=
new
SamplerateConverter
(
_audioSampleRate
,
1000
);
// Instantiate the algorithm
AudioLayer
::
_echoCancel
=
new
EchoCancel
();
AudioLayer
::
_echoCancel
=
new
EchoCancel
(
_audioSampleRate
,
_frameSize
);
AudioLayer
::
_echoCanceller
=
new
AudioProcessing
(
static_cast
<
Algorithm
*>
(
_echoCancel
));
AudioLayer
::
_dcblocker
=
new
DcBlocker
();
...
...
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