chromium/services/audio/delay_buffer_unittest.cc

// Copyright 2018 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/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "services/audio/delay_buffer.h"

#include <algorithm>

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

namespace audio {
namespace {

constexpr int kChannels =;
constexpr int kMaxFrames =;

#define EXPECT_BUS_VALUES_EQ(bus, begin, end, value)

TEST(DelayBufferTest, RecordsAMaximumNumberOfFrames) {}

TEST(DelayBufferTest, ReadsSilenceIfNothingWasRecorded) {}

TEST(DelayBufferTest, ReadsSilenceIfOutsideRecordedRange) {}

TEST(DelayBufferTest, ReadsGapsInRecording) {}

}  // namespace
}  // namespace audio