chromium/media/base/audio_shifter_unittest.cc

// Copyright 2014 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 <stddef.h>

#include <cmath>
#include <memory>
#include <vector>

#include "base/time/time.h"
#include "media/base/audio_bus.h"
#include "media/base/audio_shifter.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media {

const int kSampleRate =;
const int kInputPacketSize =;
const int kOutputPacketSize =;

class AudioShifterTest :
      public ::testing::TestWithParam<::testing::tuple<int, int, int, bool> > {};

TEST_P(AudioShifterTest, TestSync) {}

TEST_P(AudioShifterTest, TestSyncWithPush) {}

TEST_P(AudioShifterTest, TestSyncWithPull) {}

TEST_P(AudioShifterTest, UnderOverFlow) {}

// Note: First argument is optional and intentionally left blank.
// (it's a prefix for the generated test cases)
INSTANTIATE_TEST_SUITE_P();

}  // namespace media