mirror of
https://github.com/ppy/osu
synced 2024-12-11 09:27:08 +00:00
21 lines
654 B
C#
21 lines
654 B
C#
|
// 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.Bindables;
|
||
|
using osu.Game.Skinning;
|
||
|
|
||
|
namespace osu.Game.Screens.Play
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Allows a component to disable sample playback dynamically as required.
|
||
|
/// Handled by <see cref="SkinnableSound"/>.
|
||
|
/// </summary>
|
||
|
public interface ISamplePlaybackDisabler
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Whether sample playback should be disabled (or paused for looping samples).
|
||
|
/// </summary>
|
||
|
IBindable<bool> SamplePlaybackDisabled { get; }
|
||
|
}
|
||
|
}
|