// 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. #ifndef CAST_STREAMING_IMPL_CLOCK_DRIFT_SMOOTHER_H_ #define CAST_STREAMING_IMPL_CLOCK_DRIFT_SMOOTHER_H_ #include <chrono> #include "platform/api/time.h" namespace openscreen::cast { // Tracks the jitter and drift between clocks, providing a smoothed offset. // Internally, a Simple IIR filter is used to maintain a running average that // moves at a rate based on the passage of time. class ClockDriftSmoother { … }; } // namespace openscreen::cast #endif // CAST_STREAMING_IMPL_CLOCK_DRIFT_SMOOTHER_H_