chromium/services/audio/output_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/output_glitch_counter.h"

#include <string>
#include "base/check_op.h"
#include "base/format_macros.h"
#include "base/logging.h"
#include "base/metrics/histogram_functions.h"
#include "base/strings/strcat.h"
#include "base/trace_event/trace_event.h"

AudioLatency;

namespace audio {

namespace {

// Used to log if any audio glitches have been detected during an audio session.
// Elements in this enum should not be deleted or rearranged, because they need
// to stay consistent with the existing histogram data.
enum class AudioGlitchResult {};
}  // namespace

OutputGlitchCounter::OutputGlitchCounter(media::AudioLatency::Type latency_tag)
    :{}

OutputGlitchCounter::~OutputGlitchCounter() {}

void OutputGlitchCounter::ReportMissedCallback(bool missed_callback,
                                               bool is_mixing) {}

OutputGlitchCounter::LogStats OutputGlitchCounter::GetLogStats() {}

OutputGlitchCounter::Counter::Counter(media::AudioLatency::Type latency_tag,
                                      bool mixing)
    :{}

OutputGlitchCounter::Counter::~Counter() {}

void OutputGlitchCounter::Counter::Report(bool missed_callback) {}

void OutputGlitchCounter::Counter::Reset() {}

bool OutputGlitchCounter::Counter::HadGlitches() const {}

}  // namespace audio