// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_AUDIO_INPUT_GLITCH_COUNTER_H_ #define SERVICES_AUDIO_INPUT_GLITCH_COUNTER_H_ #include <cstddef> #include <vector> #include "base/functional/callback.h" #include "base/time/time.h" namespace audio { // Class for logging audio glitch data at 10 second intervals, for use by // InputSyncWriter. Upon destruction, logs how much data was dropped to // |log_callback|. class InputGlitchCounter { … }; } // namespace audio #endif // SERVICES_AUDIO_INPUT_GLITCH_COUNTER_H_