#include "common_audio/resampler/include/push_resampler.h"
#include <stdint.h>
#include <string.h>
#include <memory>
#include "api/audio/audio_frame.h"
#include "common_audio/include/audio_util.h"
#include "common_audio/resampler/push_sinc_resampler.h"
#include "rtc_base/checks.h"
namespace webrtc {
namespace {
constexpr int kMaxNumberOfChannels = …;
}
template <typename T>
PushResampler<T>::PushResampler() = default;
template <typename T>
PushResampler<T>::PushResampler(size_t src_samples_per_channel,
size_t dst_samples_per_channel,
size_t num_channels) { … }
template <typename T>
PushResampler<T>::~PushResampler() = default;
template <typename T>
void PushResampler<T>::EnsureInitialized(size_t src_samples_per_channel,
size_t dst_samples_per_channel,
size_t num_channels) { … }
template <typename T>
int PushResampler<T>::Resample(InterleavedView<const T> src,
InterleavedView<T> dst) { … }
template <typename T>
int PushResampler<T>::Resample(MonoView<const T> src, MonoView<T> dst) { … }
template class PushResampler<int16_t>;
template class PushResampler<float>;
}