chromium/services/audio/input_glitch_counter.cc

// 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.
#include "services/audio/input_glitch_counter.h"
#include <cstddef>
#include <utility>

#include "base/check_op.h"
#include "base/format_macros.h"
#include "base/metrics/histogram_functions.h"
#include "base/strings/stringprintf.h"
#include "base/time/time.h"

namespace audio {

namespace {

// Used to log if any audio glitches have been detected during an audio session.
// Elements in this enum should not be added, deleted or rearranged.
enum class AudioGlitchResult {};

}  // namespace

InputGlitchCounter::InputGlitchCounter(
    base::RepeatingCallback<void(const std::string&)> log_callback)
    :{}

InputGlitchCounter::~InputGlitchCounter() {}

void InputGlitchCounter::ReportDroppedData(bool dropped_data) {}

void InputGlitchCounter::ReportMissedReadDeadline(bool missed_read_deadline) {}

void InputGlitchCounter::UploadCompleteSamples() {}

}  // namespace audio