Files
osu-framework/osu.Framework/Audio/EzLatency/IEzLatencyLogger.cs
2026-01-16 12:28:33 +08:00

17 lines
450 B
C#

using System;
namespace osu.Framework.Audio.EzLatency
{
public interface IEzLatencyLogger : IDisposable
{
void Log(EzLatencyRecord record);
void Flush();
/// <summary>
/// Fired whenever a new latency record is logged.
/// Consumers (e.g. osu! layer) should subscribe to this to perform application-level logging/output.
/// </summary>
event Action<EzLatencyRecord> OnRecord;
}
}