#include "third_party/blink/renderer/modules/webaudio/audio_playout_stats.h"
#include "base/numerics/safe_conversions.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_object_builder.h"
#include "third_party/blink/renderer/core/execution_context/agent.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
namespace blink {
AudioPlayoutStats::AudioPlayoutStats(AudioContext* context)
: … { … }
DOMHighResTimeStamp AudioPlayoutStats::fallbackFramesDuration(
ScriptState* script_state) { … }
uint32_t AudioPlayoutStats::fallbackFramesEvents(ScriptState* script_state) { … }
DOMHighResTimeStamp AudioPlayoutStats::totalFramesDuration(
ScriptState* script_state) { … }
DOMHighResTimeStamp AudioPlayoutStats::averageLatency(
ScriptState* script_state) { … }
DOMHighResTimeStamp AudioPlayoutStats::minimumLatency(
ScriptState* script_state) { … }
DOMHighResTimeStamp AudioPlayoutStats::maximumLatency(
ScriptState* script_state) { … }
void AudioPlayoutStats::resetLatency(ScriptState* script_state) { … }
ScriptValue AudioPlayoutStats::toJSON(ScriptState* script_state) { … }
void AudioPlayoutStats::Trace(Visitor* visitor) const { … }
void AudioPlayoutStats::MaybeUpdateStats(ScriptState* script_state) { … }
void AudioPlayoutStats::OnMicrotask() { … }
}