chromium/media/base/audio_timestamp_helper.cc

// Copyright 2012 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_timestamp_helper.h"

#include <cmath>

#include "base/check_op.h"
#include "media/base/timestamp_constants.h"

namespace media {

// static
base::TimeDelta AudioTimestampHelper::FramesToTime(int64_t frames,
                                                   int samples_per_second) {}

// static
int64_t AudioTimestampHelper::TimeToFrames(base::TimeDelta time,
                                           int samples_per_second) {}

AudioTimestampHelper::AudioTimestampHelper(int samples_per_second)
    :{}

void AudioTimestampHelper::SetBaseTimestamp(base::TimeDelta base_timestamp) {}

void AudioTimestampHelper::AddFrames(int frame_count) {}

base::TimeDelta AudioTimestampHelper::GetTimestamp() const {}

base::TimeDelta AudioTimestampHelper::GetFrameDuration(int frame_count) const {}

int64_t AudioTimestampHelper::GetFramesToTarget(base::TimeDelta target) const {}

void AudioTimestampHelper::Reset() {}

base::TimeDelta AudioTimestampHelper::ComputeTimestamp(
    int64_t frame_count) const {}

}  // namespace media