// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Rulesets.Mods { /// /// Interface that should be implemented by mods that affect the track playback speed, /// and in turn, values of the track rate. /// public interface IApplicableToRate : IApplicableToAudio { /// /// Returns the playback rate at after this mod is applied. /// /// The time instant at which the playback rate is queried. /// The playback rate before applying this mod. /// The playback rate after applying this mod. double ApplyToRate(double time, double rate = 1); } }