mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-13 11:20:31 +00:00
17 lines
450 B
C#
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;
|
|
}
|
|
}
|