#include "common_audio/audio_converter.h"
#include <cstring>
#include <memory>
#include <utility>
#include <vector>
#include "common_audio/channel_buffer.h"
#include "common_audio/resampler/push_sinc_resampler.h"
#include "rtc_base/checks.h"
#include "rtc_base/numerics/safe_conversions.h"
namespace webrtc {
class CopyConverter : public AudioConverter { … };
class UpmixConverter : public AudioConverter { … };
class DownmixConverter : public AudioConverter { … };
class ResampleConverter : public AudioConverter { … };
class CompositionConverter : public AudioConverter { … };
std::unique_ptr<AudioConverter> AudioConverter::Create(size_t src_channels,
size_t src_frames,
size_t dst_channels,
size_t dst_frames) { … }
AudioConverter::AudioConverter()
: … { … }
AudioConverter::AudioConverter(size_t src_channels,
size_t src_frames,
size_t dst_channels,
size_t dst_frames)
: … { … }
void AudioConverter::CheckSizes(size_t src_size, size_t dst_capacity) const { … }
}