Merge branch 'master' into fix-gameplay-sample-pausing

This commit is contained in:
Dean Herbert
2020-07-28 15:10:37 +09:00
15 changed files with 198 additions and 74 deletions

View File

@ -103,8 +103,6 @@ namespace osu.Game.Skinning
samplesContainer.ForEach(c => c.Stop());
}
public override bool IsPresent => Scheduler.HasPendingTasks;
protected override void SkinChanged(ISkinSource skin, bool allowFallback)
{
var channels = hitSamples.Select(s =>
@ -145,6 +143,8 @@ namespace osu.Game.Skinning
public BindableNumber<double> Tempo => samplesContainer.Tempo;
public bool IsPlaying => samplesContainer.Any(s => s.Playing);
/// <summary>
/// Smoothly adjusts <see cref="Volume"/> over time.
/// </summary>