chromium/third_party/webrtc/audio/utility/channel_mixing_matrix.cc

/*
 *  Copyright (c) 2019 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.
 */

#include "audio/utility/channel_mixing_matrix.h"

#include <stddef.h>

#include <algorithm>

#include "audio/utility/channel_mixer.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h"

namespace webrtc {

namespace {

ChannelLayout CheckInputLayout(ChannelLayout input_layout,
                               ChannelLayout output_layout) {}

}  // namespace

static void ValidateLayout(ChannelLayout layout) {}

ChannelMixingMatrix::ChannelMixingMatrix(ChannelLayout input_layout,
                                         int input_channels,
                                         ChannelLayout output_layout,
                                         int output_channels)
    :{}

ChannelMixingMatrix::~ChannelMixingMatrix() = default;

bool ChannelMixingMatrix::CreateTransformationMatrix(
    std::vector<std::vector<float>>* matrix) {}

void ChannelMixingMatrix::AccountFor(Channels ch) {}

bool ChannelMixingMatrix::IsUnaccounted(Channels ch) const {}

bool ChannelMixingMatrix::HasInputChannel(Channels ch) const {}

bool ChannelMixingMatrix::HasOutputChannel(Channels ch) const {}

void ChannelMixingMatrix::Mix(Channels input_ch,
                              Channels output_ch,
                              float scale) {}

void ChannelMixingMatrix::MixWithoutAccounting(Channels input_ch,
                                               Channels output_ch,
                                               float scale) {}

}  // namespace webrtc