Skip to content
Snippets Groups Projects
Commit d80e9a30 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3443] Init echo canceller using audio layer sampling rate

parent db945995
Branches
Tags
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment