/* * Copyright (c) 2018 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_AGC2_VAD_WRAPPER_H_ #define MODULES_AUDIO_PROCESSING_AGC2_VAD_WRAPPER_H_ #include <memory> #include <vector> #include "api/audio/audio_view.h" #include "common_audio/resampler/include/push_resampler.h" #include "modules/audio_processing/agc2/cpu_features.h" namespace webrtc { // Wraps a single-channel Voice Activity Detector (VAD) which is used to analyze // the first channel of the input audio frames. Takes care of resampling the // input frames to match the sample rate of the wrapped VAD and periodically // resets the VAD. class VoiceActivityDetectorWrapper { … }; } // namespace webrtc #endif // MODULES_AUDIO_PROCESSING_AGC2_VAD_WRAPPER_H_