Commit d80e9a30 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

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

parent db945995
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment