chromium/media/audio/audio_input_stream_data_interceptor_unittest.cc

// Copyright 2017 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/audio/audio_input_stream_data_interceptor.h"

#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/ptr_util.h"
#include "base/time/time.h"
#include "media/audio/audio_debug_recording_helper.h"
#include "media/audio/audio_io.h"
#include "media/base/audio_glitch_info.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media {

namespace {

Return;
StrictMock;
Mock;

const double kMaxVolume =;
const double kNewVolume =;
const double kVolume =;

class MockStream : public AudioInputStream {};

class MockDebugRecorder : public AudioDebugRecorder {};

class MockCallback : public AudioInputStream::AudioInputCallback {};

class MockDebugRecorderFactory {};

void TestSetAutomaticGainControl(bool enable, bool agc_is_supported) {}

}  // namespace

TEST(AudioInputStreamDataInterceptorTest, Open) {}

TEST(AudioInputStreamDataInterceptorTest, Start) {}

TEST(AudioInputStreamDataInterceptorTest, Stop) {}

TEST(AudioInputStreamDataInterceptorTest, Close) {}

TEST(AudioInputStreamDataInterceptorTest, GetMaxVolume) {}

TEST(AudioInputStreamDataInterceptorTest, SetVolume) {}

TEST(AudioInputStreamDataInterceptorTest, GetVolume) {}

TEST(AudioInputStreamDataInterceptorTest,
     SetAutomaticGainControlTrueWhenSupported) {}

TEST(AudioInputStreamDataInterceptorTest,
     SetAutomaticGainControlFalseWhenSupported) {}

TEST(AudioInputStreamDataInterceptorTest,
     SetAutomaticGainControlTrueWhenNotSupported) {}

TEST(AudioInputStreamDataInterceptorTest,
     SetAutomaticGainControlFalseWhenNotSupported) {}

TEST(AudioInputStreamDataInterceptorTest, GetAutomaticGainControl_True) {}

TEST(AudioInputStreamDataInterceptorTest, GetAutomaticGainControl_False) {}

TEST(AudioInputStreamDataInterceptorTest, IsMuted_True) {}

TEST(AudioInputStreamDataInterceptorTest, IsMuted_False) {}

}  // namespace media