#include "third_party/blink/renderer/modules/mediastream/local_media_stream_audio_source.h"
#include <memory>
#include "media/base/audio_parameters.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_audio_source.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
namespace blink {
namespace {
enum class SystemAec { … };
std::unique_ptr<LocalMediaStreamAudioSource> CreateLocalMediaStreamAudioSource(
SystemAec aec_mode,
bool enable_system_aec) { … }
TEST(LocalMediaStreamAudioSourceAecTest, SupportsUnsupportedSystemAec) { … }
TEST(LocalMediaStreamAudioSourceAecTest, CanDisableSystemAec) { … }
TEST(LocalMediaStreamAudioSourceAecTest, CanDisableExperimentalSystemAec) { … }
TEST(LocalMediaStreamAudioSourceAecTest, CanEnableSystemAec) { … }
TEST(LocalMediaStreamAudioSourceAecTest, CanEnableExperimentalSystemAec) { … }
}
}