#include "media/base/channel_mixer.h"
#include <stddef.h>
#include <string.h>
#include "base/check_op.h"
#include "media/base/audio_bus.h"
#include "media/base/audio_parameters.h"
#include "media/base/channel_mixing_matrix.h"
#include "media/base/vector_math.h"
namespace media {
ChannelMixer::ChannelMixer(ChannelLayout input_layout,
int input_channels,
ChannelLayout output_layout,
int output_channels) { … }
ChannelMixer::ChannelMixer(
const AudioParameters& input, const AudioParameters& output) { … }
void ChannelMixer::Initialize(
ChannelLayout input_layout, int input_channels,
ChannelLayout output_layout, int output_channels) { … }
ChannelMixer::~ChannelMixer() = default;
void ChannelMixer::Transform(const AudioBus* input, AudioBus* output) { … }
void ChannelMixer::TransformPartial(const AudioBus* input,
int frame_count,
AudioBus* output) { … }
}