#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "media/audio/simple_sources.h"
#include <stddef.h>
#include <stdint.h>
#include <limits>
#include <memory>
#include "base/containers/span.h"
#include "base/files/file_util.h"
#include "base/time/time.h"
#include "media/audio/audio_io.h"
#include "media/audio/test_data.h"
#include "media/base/audio_bus.h"
#include "media/base/audio_parameters.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
TEST(SimpleSources, SineWaveAudioSource) { … }
TEST(SimpleSources, SineWaveAudioCapped) { … }
TEST(SimpleSources, OnError) { … }
void VerifyContainsTestFile(const AudioBus* audio_bus) { … }
TEST(SimpleSources, FileSourceTestDataWithoutLooping) { … }
TEST(SimpleSources, FileSourceTestDataWithLooping) { … }
TEST(SimpleSources, BadFilePathFails) { … }
TEST(SimpleSources, FileSourceCorruptTestDataFails) { … }
}