chromium/media/base/channel_mixing_matrix_unittest.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "media/base/channel_mixing_matrix.h"

#include <stddef.h>

#include "base/strings/stringprintf.h"
#include "media/base/channel_mixer.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media {

// Test all possible layout conversions can be constructed and mixed.
TEST(ChannelMixingMatrixTest, ConstructAllPossibleLayouts) {}

// Verify channels are mixed and scaled correctly.
TEST(ChannelMixingMatrixTest, StereoToMono) {}

TEST(ChannelMixingMatrixTest, StereoTo1Point1) {}

TEST(ChannelMixingMatrixTest, MonoToStereo) {}

TEST(ChannelMixingMatrixTest, 1Point1ToStereo) {}

TEST(ChannelMixingMatrixTest, MonoTo5Point1) {}

TEST(ChannelMixingMatrixTest, 1Point1To5Point1) {}

TEST(ChannelMixingMatrixTest, 5Point1ToMono) {}

TEST(ChannelMixingMatrixTest, 5Point1To1Point1) {}

TEST(ChannelMixingMatrixTest, DiscreteToDiscrete) {}

}  // namespace media