#include "modules/audio_processing/agc2/clipping_predictor_level_buffer.h"
#include <algorithm>
#include <cmath>
#include "rtc_base/checks.h"
#include "rtc_base/logging.h"
namespace webrtc {
bool ClippingPredictorLevelBuffer::Level::operator==(const Level& level) const { … }
ClippingPredictorLevelBuffer::ClippingPredictorLevelBuffer(int capacity)
: … { … }
void ClippingPredictorLevelBuffer::Reset() { … }
void ClippingPredictorLevelBuffer::Push(Level level) { … }
absl::optional<ClippingPredictorLevelBuffer::Level>
ClippingPredictorLevelBuffer::ComputePartialMetrics(int delay,
int num_items) const { … }
}