#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "media/base/audio_timestamp_helper.h"
#include <stddef.h>
#include <stdint.h>
#include "media/base/timestamp_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
namespace {
const int k48kHz = …;
}
static const int kDefaultSampleRate = …;
class AudioTimestampHelperTest : public ::testing::Test { … };
TEST_F(AudioTimestampHelperTest, FramesToTime) { … }
TEST_F(AudioTimestampHelperTest, TimeToFrames) { … }
TEST_F(AudioTimestampHelperTest, Basic) { … }
TEST_F(AudioTimestampHelperTest, GetDuration) { … }
TEST_F(AudioTimestampHelperTest, GetFramesToTarget) { … }
}