/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef MODULES_AUDIO_PROCESSING_VAD_VAD_CIRCULAR_BUFFER_H_ #define MODULES_AUDIO_PROCESSING_VAD_VAD_CIRCULAR_BUFFER_H_ #include <memory> namespace webrtc { // A circular buffer tailored to the need of this project. It stores last // K samples of the input, and keeps track of the mean of the last samples. // // It is used in class "PitchBasedActivity" to keep track of posterior // probabilities in the past few seconds. The posterior probabilities are used // to recursively update prior probabilities. class VadCircularBuffer { … }; } // namespace webrtc #endif // MODULES_AUDIO_PROCESSING_VAD_VAD_CIRCULAR_BUFFER_H_