2022-05-22 13:15:53 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
using osu.Framework.Audio.Track;
|
|
|
|
using osu.Framework.Timing;
|
|
|
|
using osu.Game.Beatmaps.ControlPoints;
|
2022-05-22 13:49:24 +00:00
|
|
|
using osu.Game.Graphics.Containers;
|
2022-05-22 13:15:53 +00:00
|
|
|
|
2022-05-22 13:49:24 +00:00
|
|
|
namespace osu.Game.Beatmaps
|
2022-05-22 13:15:53 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Provides various data sources which allow for synchronising visuals to a known beat.
|
|
|
|
/// Primarily intended for use with <see cref="BeatSyncedContainer"/>.
|
|
|
|
/// </summary>
|
2022-05-22 17:00:04 +00:00
|
|
|
[Cached]
|
2022-05-22 13:15:53 +00:00
|
|
|
public interface IBeatSyncProvider
|
|
|
|
{
|
|
|
|
ControlPointInfo? ControlPoints { get; }
|
|
|
|
|
|
|
|
IClock? Clock { get; }
|
|
|
|
|
|
|
|
ChannelAmplitudes? Amplitudes { get; }
|
|
|
|
}
|
|
|
|
}
|