chromium/media/base/audio_latency_unittest.cc

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

#include "media/base/audio_latency.h"

#include <stdint.h>

#include "base/time/time.h"
#include "build/build_config.h"
#include "media/base/limits.h"
#include "media/media_buildflags.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media {

// Tuple of <sample rate, hardware buffer size, min buffer size, max buffer
// size>.
AudioLatencyTestData;

class AudioLatencyTest : public testing::TestWithParam<AudioLatencyTestData> {};

// TODO(olka): extend unit tests, use real-world sample rates.

TEST(AudioLatency, HighLatencyBufferSizes) {}

TEST(AudioLatency, InteractiveBufferSizes) {}

TEST(AudioLatency, RtcBufferSizes) {}

TEST_P(AudioLatencyTest, ExactBufferSizes) {}

INSTANTIATE_TEST_SUITE_P();
}  // namespace media