chromium/media/mojo/common/audio_data_s16_converter_unittest.cc

// Copyright 2024 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/mojo/common/audio_data_s16_converter.h"

#include <memory>

#include "media/base/audio_buffer.h"
#include "media/base/audio_bus.h"
#include "media/base/audio_sample_types.h"
#include "media/base/sample_format.h"
#include "media/base/test_helpers.h"
#include "media/mojo/common/media_type_converters.h"
#include "media/mojo/mojom/audio_data.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media {

namespace {

static const int kTestVectorSize =;
static const int kSampleRate =;
static const int16_t kTestVectorContents[kTestVectorSize] =;
static const int16_t kExpectedMixedVectorContents[kTestVectorSize / 2] =;

}  // namespace

class AudioDataS16ConverterTest : public testing::Test {};

AudioDataS16ConverterTest::AudioDataS16ConverterTest() {}

TEST_F(AudioDataS16ConverterTest, ConvertToAudioDataS16_MONO) {}

TEST_F(AudioDataS16ConverterTest, ConvertToAudioDataS16_STEREO) {}

}  // namespace media