/* * Copyright (c) 2014 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_SPLITTING_FILTER_H_ #define MODULES_AUDIO_PROCESSING_SPLITTING_FILTER_H_ #include <cstring> #include <memory> #include <vector> #include "common_audio/channel_buffer.h" #include "modules/audio_processing/three_band_filter_bank.h" namespace webrtc { struct TwoBandsStates { … }; // Splitting filter which is able to split into and merge from 2 or 3 frequency // bands. The number of channels needs to be provided at construction time. // // For each block, Analysis() is called to split into bands and then Synthesis() // to merge these bands again. The input and output signals are contained in // ChannelBuffers and for the different bands an array of ChannelBuffers is // used. class SplittingFilter { … }; } // namespace webrtc #endif // MODULES_AUDIO_PROCESSING_SPLITTING_FILTER_H_