chromium/third_party/openscreen/src/cast/streaming/impl/clock_drift_smoother.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cast/streaming/impl/clock_drift_smoother.h"

#include <cmath>

#include "util/chrono_helpers.h"
#include "util/osp_logging.h"
#include "util/saturate_cast.h"

namespace openscreen::cast {
namespace {

constexpr Clock::time_point kNullTime =;
}

operator<<;

ClockDriftSmoother::ClockDriftSmoother(Clock::duration time_constant)
    :{}

ClockDriftSmoother::~ClockDriftSmoother() = default;

Clock::duration ClockDriftSmoother::Current() const {}

void ClockDriftSmoother::Reset(Clock::time_point now,
                               Clock::duration measured_offset) {}

void ClockDriftSmoother::Update(Clock::time_point now,
                                Clock::duration measured_offset) {}

// static
constexpr std::chrono::seconds ClockDriftSmoother::kDefaultTimeConstant;

}  // namespace openscreen::cast