#include "third_party/blink/renderer/platform/audio/media_multi_channel_resampler.h"
#include <memory>
#include "base/functional/bind.h"
#include "media/base/audio_bus.h"
#include "third_party/blink/renderer/platform/audio/audio_bus.h"
namespace blink {
MediaMultiChannelResampler::MediaMultiChannelResampler(
int channels,
double io_sample_rate_ratio,
uint32_t request_frames,
ReadCB read_cb)
: … { … }
void MediaMultiChannelResampler::Resample(
int frames,
blink::AudioBus* resampler_input_bus) { … }
void MediaMultiChannelResampler::ResampleInternal(
int frames,
media::AudioBus* resampler_input_bus) { … }
void MediaMultiChannelResampler::ProvideResamplerInput(
int resampler_frame_delay,
media::AudioBus* resampler_output_bus) { … }
}