mirror of
https://github.com/osukey/osukey.git
synced 2025-07-04 01:40:02 +09:00
Use adjustable ITrack
This commit is contained in:
@ -14,7 +14,7 @@ namespace osu.Game.Rulesets.Mods
|
||||
|
||||
public virtual void ApplyToTrack(ITrack track)
|
||||
{
|
||||
(track as IAdjustableAudioComponent)?.AddAdjustment(AdjustableProperty.Tempo, SpeedChange);
|
||||
track.AddAdjustment(AdjustableProperty.Tempo, SpeedChange);
|
||||
}
|
||||
|
||||
public virtual void ApplyToSample(SampleChannel sample)
|
||||
|
Reference in New Issue
Block a user