Bump to WebRTC M120 release
Some API deprecation -- ExperimentalAgc and ExperimentalNs are gone. We're continuing to carry iSAC even though it's gone upstream, but maybe we'll want to drop that soon.
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
#ifndef MODULES_AUDIO_PROCESSING_RESIDUAL_ECHO_DETECTOR_H_
|
||||
#define MODULES_AUDIO_PROCESSING_RESIDUAL_ECHO_DETECTOR_H_
|
||||
|
||||
#include <atomic>
|
||||
#include <vector>
|
||||
|
||||
#include "api/array_view.h"
|
||||
@ -49,14 +50,14 @@ class ResidualEchoDetector : public EchoDetector {
|
||||
EchoDetector::Metrics GetMetrics() const override;
|
||||
|
||||
private:
|
||||
static int instance_count_;
|
||||
static std::atomic<int> instance_count_;
|
||||
std::unique_ptr<ApmDataDumper> data_dumper_;
|
||||
// Keep track if the |Process| function has been previously called.
|
||||
// Keep track if the `Process` function has been previously called.
|
||||
bool first_process_call_ = true;
|
||||
// Buffer for storing the power of incoming farend buffers. This is needed for
|
||||
// cases where calls to BufferFarend and Process are jittery.
|
||||
CircularBuffer render_buffer_;
|
||||
// Count how long ago it was that the size of |render_buffer_| was zero. This
|
||||
// Count how long ago it was that the size of `render_buffer_` was zero. This
|
||||
// value is also reset to zero when clock drift is detected and a value from
|
||||
// the renderbuffer is discarded, even though the buffer is not actually zero
|
||||
// at that point. This is done to avoid repeatedly removing elements in this
|
||||
|
Reference in New Issue
Block a user