diff --git a/osu.Framework/Audio/Sample/ISample.cs b/osu.Framework/Audio/Sample/ISample.cs index cd3a7452c0..ba7653a7d8 100644 --- a/osu.Framework/Audio/Sample/ISample.cs +++ b/osu.Framework/Audio/Sample/ISample.cs @@ -15,11 +15,6 @@ public interface ISample : IAdjustableAudioComponent /// string Name { get; } - /// - /// The length in milliseconds of this . - /// - double Length { get; } - /// /// The number of times this sample (as identified by name) can be played back concurrently. /// diff --git a/osu.Framework/Audio/Sample/Sample.cs b/osu.Framework/Audio/Sample/Sample.cs index 54bd3f1174..9fef4b37b5 100644 --- a/osu.Framework/Audio/Sample/Sample.cs +++ b/osu.Framework/Audio/Sample/Sample.cs @@ -19,7 +19,6 @@ protected Sample(string name) Name = name; } - public double Length { get; protected set; } public Bindable PlaybackConcurrency { get; } = new Bindable(DEFAULT_CONCURRENCY); internal Action OnPlay; diff --git a/osu.Framework/Graphics/Audio/DrawableSample.cs b/osu.Framework/Graphics/Audio/DrawableSample.cs index 20c96fb0e0..2aa2d57892 100644 --- a/osu.Framework/Graphics/Audio/DrawableSample.cs +++ b/osu.Framework/Graphics/Audio/DrawableSample.cs @@ -51,8 +51,6 @@ public SampleChannel GetChannel() string ISample.Name => sample.Name; - public double Length => sample.Length; - public Bindable PlaybackConcurrency { get; } = new Bindable(Sample.DEFAULT_CONCURRENCY); private IAudioMixer? mixer;